Delen via


Diagram.DiagramAdded Event

Occurs when a diagram is added.

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

Syntax

'Declaration
Public Event DiagramAdded As EventHandler(Of ElementAddedEventArgs)
public event EventHandler<ElementAddedEventArgs> DiagramAdded
public:
 event EventHandler<ElementAddedEventArgs^>^ DiagramAdded {
    void add (EventHandler<ElementAddedEventArgs^>^ value);
    void remove (EventHandler<ElementAddedEventArgs^>^ value);
}
member DiagramAdded : IEvent<EventHandler<ElementAddedEventArgs>,
    ElementAddedEventArgs>
JScript does not support events.

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace