Diagram.DiagramAdded Event
Occurs when a diagram is added.
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 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
- 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.