共用方式為


ShapeElement.RemoveLayoutObject Method

Removes the shape, including any relative and nested child shapes, from the diagram grid.

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 RemoveLayoutObject
public void RemoveLayoutObject()
public:
void RemoveLayoutObject()
member RemoveLayoutObject : unit -> unit
public function RemoveLayoutObject()

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace