Share via


Extensions.GetLayerElement Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Get the layer element presented by this shape.

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 GetLayerElement ( _
    shape As IShape _
) As ILayerElement
public static ILayerElement GetLayerElement(
    this IShape shape
)
[ExtensionAttribute]
public:
static ILayerElement^ GetLayerElement(
    IShape^ shape
)
static member GetLayerElement : 
        shape:IShape -> ILayerElement
public static function GetLayerElement(
    shape : IShape
) : ILayerElement

Parameters

Return Value

Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.ILayerElement
The layer element.

Usage Note

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

GetShape