Udostępnij za pośrednictwem


Metoda Extensions.CreateCommentLink — (ILayerComment, ILayer)

Ten komentarz Link do warstwy.

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