Share via


Diagram.Associate(DiagramView) Method

Definition

Displays this diagram in the specified DiagramView.

public:
 void Associate(Microsoft::VisualStudio::Modeling::Diagrams::DiagramView ^ diagramView);
public void Associate (Microsoft.VisualStudio.Modeling.Diagrams.DiagramView diagramView);
override this.Associate : Microsoft.VisualStudio.Modeling.Diagrams.DiagramView -> unit
Public Sub Associate (diagramView As DiagramView)

Parameters

diagramView
DiagramView

The DiagramView to associate with.

Remarks

This method associates this Diagram with the specified DiagramView.

This Diagram may be associated with multiple DiagramViews.

Applies to