Share via


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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace