SelectedShapesCollection.GetDiagramItemsContainingShape 方法

获取选择中关系图项的集合,该列表的“形状”属性是指定形状的。

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

语法

声明
Public Function GetDiagramItemsContainingShape ( _
    shape As ShapeElement _
) As DiagramItemCollection
public DiagramItemCollection GetDiagramItemsContainingShape(
    ShapeElement shape
)

参数

返回值

类型:Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection

.NET Framework 安全性

请参阅

参考

SelectedShapesCollection 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间