共用方式為


SelectedShapesCollection.SelectionChangedByDeletion Event

Occurs when the selection is about to change because a ModelElement that an item in the selection refers to has been deleted.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Event SelectionChangedByDeletion As SelectionChangedByDeletionEventHandler
public event SelectionChangedByDeletionEventHandler SelectionChangedByDeletion
public:
 event SelectionChangedByDeletionEventHandler^ SelectionChangedByDeletion {
    void add (SelectionChangedByDeletionEventHandler^ value);
    void remove (SelectionChangedByDeletionEventHandler^ value);
}
member SelectionChangedByDeletion : IEvent<SelectionChangedByDeletionEventHandler,
    DiagramItemEventArgs>
JScript does not support events.

.NET Framework Security

See Also

Reference

SelectedShapesCollection Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace