共用方式為


Diagram.Disassociate Method

Removes the diagram from the specified diagram view.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
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