Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- shape
Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Presentation.IShape
The shape.
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
- 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.
See Also
Reference
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer Namespace
GetShape()