Udostępnij za pośrednictwem


Metoda Extensions.CreateCommentLink — (ILayerComment, ILayerComment)

Połączyć tę warstwę na komentarz.

Przestrzeń nazw:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer
Zestaw:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer (w Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.dll)

Składnia

'Deklaracja
<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

Parametry

Wartość zwracana

Typ: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.ILayerCommentLink
Nowe łącze komentarz

Informacje dotyczące użycia

W językach Visual Basic i C# tę metodę można wywołać jako metodę wystąpienia dowolnego obiektu typu ILayerComment. Gdy w celu wywołania tej metody jest używana składnia metody wystąpienia, należy pominąć pierwszy parametr. Aby uzyskać więcej informacji, zobacz temat Metody rozszerzeń (Visual Basic) lub Metody rozszerzeń (Przewodnik programowania w języku C#).

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

Extensions Klasa

Przeciążenie CreateCommentLink

Przestrzeń nazw Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer

CreateComment