Share via


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

Parameters

Return Value

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

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

CreateComment Overload

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer Namespace