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.
history
형식: Microsoft.VisualStudio.Text.Operations.ITextUndoHistoryITextUndoHistory 텍스트 버퍼와 연결할 개체입니다.
설명
약한 참조만 버퍼에 보관 됩니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.