Extensions.CreateComment Method (ILayerContainer, String)

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

Create a comment.

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, _
    body As String _
) As ILayerComment
public static ILayerComment CreateComment(
    this ILayerContainer parent,
    string body
)
[ExtensionAttribute]
public:
static ILayerComment^ CreateComment(
    ILayerContainer^ parent, 
    String^ body
)
static member CreateComment : 
        parent:ILayerContainer * 
        body:string -> ILayerComment
public static function CreateComment(
    parent : ILayerContainer, 
    body : String
) : ILayerComment

Parameters

Return Value

Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.ILayerComment
The new comment.

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

CreateCommentLink