HighlightedShapesCollection.GetDiagramItemsContainingShape Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection of diagram items in the highlight list whose Shape property is the specified 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
Parameters
- shape
- ShapeElement
The shape to find.
Returns
A collection of diagram items in the highlight list whose Shape property is the specified shape.