Share via


PresentationHelpers.GetElement Method

The UML model element displayed by this ShapeElement.

Namespace:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GetElement ( _
    shapeElement As ShapeElement _
) As IElement
public static IElement GetElement(
    this ShapeElement shapeElement
)
[ExtensionAttribute]
public:
static IElement^ GetElement(
    ShapeElement^ shapeElement
)
static member GetElement : 
        shapeElement:ShapeElement -> IElement
public static function GetElement(
    shapeElement : ShapeElement
) : IElement

Parameters

Return Value

Type: Microsoft.VisualStudio.Uml.Classes.IElement

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ShapeElement. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Remarks

For more information, see:

.NET Framework Security

See Also

Reference

PresentationHelpers Class

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation Namespace