Diagram.Disassociate Method
Removes the diagram from 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 Disassociate ( _
diagramView As DiagramView _
)
public void Disassociate(
DiagramView diagramView
)
public:
void Disassociate(
DiagramView^ diagramView
)
member Disassociate :
diagramView:DiagramView -> unit
public function Disassociate(
diagramView : DiagramView
)
Parameters
diagramView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramViewThe diagram view.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.