共用方式為


SelectedShapesCollection.Remove 方法 (DiagramItemCollection)

從目前的選取範圍中移除指定的 DiagramItems。

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

語法

'宣告
Public Sub Remove ( _
    diagramItems As DiagramItemCollection _
)
public void Remove(
    DiagramItemCollection diagramItems
)

參數

備註

如果選取範圍中沒有 DiagramItem,DiagramItem 會被忽略。

.NET Framework 安全性

請參閱

參考

SelectedShapesCollection 類別

Remove 多載

Microsoft.VisualStudio.Modeling.Diagrams 命名空間