HighlightedShapesCollection.GetDiagramItemsContainingShape Method

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)

Syntax

'宣言
Public Function GetDiagramItemsContainingShape ( _
    shape As ShapeElement _
) As DiagramItemCollection
'使用
Dim instance As HighlightedShapesCollection
Dim shape As ShapeElement
Dim returnValue As DiagramItemCollection

returnValue = instance.GetDiagramItemsContainingShape(shape)
public DiagramItemCollection GetDiagramItemsContainingShape(
    ShapeElement shape
)
public:
DiagramItemCollection^ GetDiagramItemsContainingShape(
    ShapeElement^ shape
)
public function GetDiagramItemsContainingShape(
    shape : ShapeElement
) : DiagramItemCollection

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection

Permissions

See Also

Reference

HighlightedShapesCollection Class

HighlightedShapesCollection Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace