Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Event DiagramAssociated As EventHandler
'使用
Dim instance As DiagramClientView
Dim handler As EventHandler
AddHandler instance.DiagramAssociated, handler
public event EventHandler DiagramAssociated
public:
event EventHandler^ DiagramAssociated {
void add (EventHandler^ value);
void remove (EventHandler^ value);
}
JScript does not support events.
Permissions
- 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.