Extensions.CreateLayer Method (ILayerContainer, String)
Create a new layer.
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.dll)
Syntax
public static ILayer CreateLayer(
this ILayerContainer parent,
string name
)
public:
[ExtensionAttribute]
static ILayer^ CreateLayer(
ILayerContainer^ parent,
String^ name
)
static member CreateLayer :
parent:ILayerContainer *
name:string -> ILayer
<ExtensionAttribute>
Public Shared Function CreateLayer (
parent As ILayerContainer,
name As String
) As ILayer
Parameters
parent
Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.ILayerContainerThe parent container, either an ILayer or an ILayerModel.
name
Type: System.StringThe unique name of the new layer.
Return Value
Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.ILayer
The new layer.
See Also
CreateDependencyLink
CreateLayer Overload
Extensions Class
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer Namespace
Return to top