Поделиться через


Extensions.CreateCommentLink - метод (ILayerComment, ILayer)

Свяжите данный комментарий со слоем.

Пространство имен:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer
Сборка:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer (в Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.dll)

Синтаксис

'Декларация
<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

Параметры

Возвращаемое значение

Тип: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer.ILayerCommentLink
Ссылка на новый комментарий

Примечание об использовании

В Visual Basic и C# этот метод можно вызывать как метод экземпляра для любого объекта типа ILayerComment. При вызове метода для экземпляра следует опускать первый параметр. Дополнительные сведения см. в разделе Методы расширения (Visual Basic) или Методы расширения (Руководство по программированию в C#).

Безопасность платформы .NET Framework

См. также

Ссылки

Extensions Класс

CreateCommentLink - перегрузка

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Layer - пространство имен

CreateComment()