Diagram.Disassociate(DiagramView) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.