Partager via


Diagram.Associate Method (DiagramView)

Displays the diagram in the specified diagram view.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
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