共用方式為


Diagram.Associate Method (DiagramView)

Displays the diagram in the specified 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

'宣告
Public Sub Associate ( _
    diagramView As DiagramView _
)
public void Associate(
    DiagramView diagramView
)
public:
void Associate(
    DiagramView^ diagramView
)
member Associate : 
        diagramView:DiagramView -> unit 
public function Associate(
    diagramView : DiagramView
)

Parameters

Remarks

You can associate a diagram with more than one diagram view.

.NET Framework Security

See Also

Reference

Diagram Class

Associate Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace