Diagram.OnDisassociated Method
Performs an action when the diagram is disassociated from 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 OnDisassociated ( _
e As DiagramAssociationEventArgs _
)
protected internal virtual void OnDisassociated(
DiagramAssociationEventArgs e
)
protected public:
virtual void OnDisassociated(
DiagramAssociationEventArgs^ e
)
abstract OnDisassociated :
e:DiagramAssociationEventArgs -> unit
override OnDisassociated :
e:DiagramAssociationEventArgs -> unit
function OnDisassociated(
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.