Compartir a través de


Diagram.FindShape Method

Finds the shape for the specified element on the diagram.

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

Syntax

'Declaración
Public Function FindShape ( _
    element As ModelElement _
) As ShapeElement
public ShapeElement FindShape(
    ModelElement element
)
public:
ShapeElement^ FindShape(
    ModelElement^ element
)
member FindShape : 
        element:ModelElement -> ShapeElement 
public function FindShape(
    element : ModelElement
) : ShapeElement

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The shape for the specified element.

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace