Dela via


Extensions.GetShape Method

Get the shape that presents this layer element.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GetShape ( _
    element As ILayerElement _
) As IShape
public static IShape GetShape(
    this ILayerElement element
)
[ExtensionAttribute]
public:
static IShape^ GetShape(
    ILayerElement^ element
)
static member GetShape : 
        element:ILayerElement -> IShape 
public static function GetShape(
    element : ILayerElement
) : IShape

Parameters

Return Value

Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation.IShape

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ILayerElement. 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).

.NET Framework Security

See Also

Reference

Extensions Class

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer Namespace

GetLayerElement()