HighlightedShapesCollection.GetDiagramItemsContainingShape 方法

定义

获取突出显示列表中其 Shape 属性为指定形状的关系图项的集合。

public:
 Microsoft::VisualStudio::Modeling::Diagrams::DiagramItemCollection ^ GetDiagramItemsContainingShape(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ shape);
public Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection GetDiagramItemsContainingShape (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement shape);
member this.GetDiagramItemsContainingShape : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection
Public Function GetDiagramItemsContainingShape (shape As ShapeElement) As DiagramItemCollection

参数

shape
ShapeElement

要查找的形状。

返回

DiagramItemCollection

突出显示列表中其 Shape 属性为指定形状的关系图项的集合。

适用于