SelectedShapesCollection.Remove 方法 (DiagramItemCollection)

从当前选择移除指定的 DiagramItems。

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)

语法

声明
Public Sub Remove ( _
    diagramItems As DiagramItemCollection _
)
public void Remove(
    DiagramItemCollection diagramItems
)

参数

备注

如果 DiagramItem 不存在,DiagramItem 选择忽略。

.NET Framework 安全性

请参阅

参考

SelectedShapesCollection 类

Remove 重载

Microsoft.VisualStudio.Modeling.Diagrams 命名空间