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
- 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.
See Also
Reference
HighlightedShapesCollection Class