다음을 통해 공유


SelectedShapesCollection.GetDiagramItemsContainingShape Method

Gets a collection of diagram items in the selection whose Shape property is the specified shape.

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

Syntax

‘선언
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

SelectedShapesCollection Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace