Share via


Diagram.DiagramRemoved Event

Occurs when a diagram is removed.

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

Syntax

'Declaration
Public Event DiagramRemoved As EventHandler(Of ElementDeletedEventArgs)
'Usage
Dim instance As Diagram 
Dim handler As EventHandler(Of ElementDeletedEventArgs)

AddHandler instance.DiagramRemoved, handler
public event EventHandler<ElementDeletedEventArgs> DiagramRemoved
public:
 event EventHandler<ElementDeletedEventArgs^>^ DiagramRemoved {
    void add (EventHandler<ElementDeletedEventArgs^>^ value);
    void remove (EventHandler<ElementDeletedEventArgs^>^ value);
}
JScript does not support events.

.NET Framework Security

See Also

Reference

Diagram Class

Diagram Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace