Share via


Extensions.CreateLayer Method (ILayerContainer)

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 CreateLayer ( _
    parent As ILayerContainer _
) As ILayer
public static ILayer CreateLayer(
    this ILayerContainer parent
)
[ExtensionAttribute]
public:
static ILayer^ CreateLayer(
    ILayerContainer^ parent
)
static member CreateLayer : 
        parent:ILayerContainer -> ILayer 
public static function CreateLayer(
    parent : ILayerContainer
) : ILayer

Parameters

Return Value

Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.ILayer

Usage Note

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

CreateLayer Overload

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer Namespace