Diagram.FindShape Method
Finds the shape for the specified element on the diagram.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Parameters
- element
- Type: Microsoft.VisualStudio.Modeling.ModelElement
The element.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe shape for the specified element.
- 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.