Partager via


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

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace