共用方式為


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

'宣告
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