Delen via


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

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection

.NET Framework Security

See Also

Reference

HighlightedShapesCollection Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace