다음을 통해 공유


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