다음을 통해 공유


ITextUndoHistoryRegistry.AttachHistory 메서드

기존에 연결 ITextUndoHistory 텍스트 버퍼 수입니다. 버퍼에서이 레지스트리에서 이미 매핑할 수 합니다.

네임스페이스:  Microsoft.VisualStudio.Text.Operations
어셈블리:  Microsoft.VisualStudio.Text.Logic(Microsoft.VisualStudio.Text.Logic.dll)

구문

‘선언
Sub AttachHistory ( _
    context As Object, _
    history As ITextUndoHistory _
)
void AttachHistory(
    Object context,
    ITextUndoHistory history
)
void AttachHistory(
    Object^ context, 
    ITextUndoHistory^ history
)
abstract AttachHistory : 
        context:Object * 
        history:ITextUndoHistory -> unit
function AttachHistory(
    context : Object, 
    history : ITextUndoHistory
)

매개 변수

  • context
    형식: Object

    이 개체는 항상 되어야 합니다는 ITextBuffer.

설명

약한 참조만 버퍼에 보관 됩니다.

.NET Framework 보안

참고 항목

참조

ITextUndoHistoryRegistry 인터페이스

Microsoft.VisualStudio.Text.Operations 네임스페이스