HighlightedShapesCollection.GetDiagramItemsContainingShape Method
Gets a collection of diagram items in the highlight list whose Shape property is the specified shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Function GetDiagramItemsContainingShape ( _
shape As ShapeElement _
) As DiagramItemCollection
public DiagramItemCollection GetDiagramItemsContainingShape(
ShapeElement shape
)
public:
DiagramItemCollection^ GetDiagramItemsContainingShape(
ShapeElement^ shape
)
member GetDiagramItemsContainingShape :
shape:ShapeElement -> DiagramItemCollection
public function GetDiagramItemsContainingShape(
shape : ShapeElement
) : DiagramItemCollection
Parameters
shape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe shape to find.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.