Share via


Extensions.CreateCommentLink Method (ILayerComment, ILayerComment)

Link this layer to 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 CreateCommentLink ( _
    sourceComment As ILayerComment, _
    targetComment As ILayerComment _
) As ILayerCommentLink
public static ILayerCommentLink CreateCommentLink(
    this ILayerComment sourceComment,
    ILayerComment targetComment
)
[ExtensionAttribute]
public:
static ILayerCommentLink^ CreateCommentLink(
    ILayerComment^ sourceComment, 
    ILayerComment^ targetComment
)
static member CreateCommentLink : 
        sourceComment:ILayerComment * 
        targetComment:ILayerComment -> ILayerCommentLink
public static function CreateCommentLink(
    sourceComment : ILayerComment, 
    targetComment : ILayerComment
) : ILayerCommentLink

Parameters

Return Value

Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.ILayerCommentLink
The new comment link

Usage Note

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

CreateCommentLink Overload

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer Namespace

CreateComment