IVsTextBufferCoordinator.SetBuffers 메서드
버퍼 코디네이터 개체에 의해 관리 되는 기본 및 보조 버퍼를 설정 합니다.
네임스페이스: Microsoft.VisualStudio.TextManager.Interop
어셈블리: Microsoft.VisualStudio.TextManager.Interop.8.0(Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
구문
‘선언
Function SetBuffers ( _
pPrimaryBuffer As IVsTextLines, _
pSecondaryBuffer As IVsTextLines _
) As Integer
int SetBuffers(
IVsTextLines pPrimaryBuffer,
IVsTextLines pSecondaryBuffer
)
int SetBuffers(
[InAttribute] IVsTextLines^ pPrimaryBuffer,
[InAttribute] IVsTextLines^ pSecondaryBuffer
)
abstract SetBuffers :
pPrimaryBuffer:IVsTextLines *
pSecondaryBuffer:IVsTextLines -> int
function SetBuffers(
pPrimaryBuffer : IVsTextLines,
pSecondaryBuffer : IVsTextLines
) : int
매개 변수
pPrimaryBuffer
형식: Microsoft.VisualStudio.TextManager.Interop.IVsTextLines[in] IVsTextLines 기본 버퍼를 나타내는 개체입니다.
pSecondaryBuffer
형식: Microsoft.VisualStudio.TextManager.Interop.IVsTextLines[in] IVsTextLines 보조 버퍼를 나타내는 개체입니다.
반환 값
형식: Int32
성공 하면 반환 S_OK. 그렇지 않으면 오류 코드를 반환 합니다.
설명
COM 시그니처
Singlefileeditor.idl에서:
HRESULT SetBuffers(
[in] IVsTextLines *pPrimaryBuffer,
[in] IVsTextLines *pSecondaryBuffer
);
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.