Diagram.OnAssociated Method
Performs an action when the diagram has been associated with a diagram view.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Protected Friend Overridable Sub OnAssociated ( _
e As DiagramAssociationEventArgs _
)
protected internal virtual void OnAssociated(
DiagramAssociationEventArgs e
)
protected public:
virtual void OnAssociated(
DiagramAssociationEventArgs^ e
)
abstract OnAssociated :
e:DiagramAssociationEventArgs -> unit
override OnAssociated :
e:DiagramAssociationEventArgs -> unit
function OnAssociated(
e : DiagramAssociationEventArgs
)
Parameters
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramAssociationEventArgs
The arguments to use when a diagram is associated with a diagram view. For a list of arguments, see DiagramAssociationEventArgs.
.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.