SelectedShapesCollection::GetDiagramItemsContainingShape Method (ShapeElement^)
Visual Studio 2015
Gets a collection of diagram items in the selection whose Shape property is the specified shape.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Parameters
- shape
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::ShapeElement^
The shape to find.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramItemCollection^
Show: