Diagram.Disassociate(DiagramView) Method

Definition

Removes this diagram from the specified DiagramView.

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

Parameters

diagramView
DiagramView

The DiagramView from which to disassociate.

Remarks

This method breaks the association between this Diagram and the specified DiagramView.

This method will do nothing if the association has already been broken.

Applies to