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 命名空间