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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.