VsTextBufferCoordinatorClass.SetBuffers(IVsTextLines, IVsTextLines) Method

Definition

Establishes the primary and secondary buffers that are to be managed by the buffer coordinator object.

public:
 virtual int SetBuffers(Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ pPrimaryBuffer, Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ pSecondaryBuffer) = Microsoft::VisualStudio::TextManager::Interop::IVsTextBufferCoordinator::SetBuffers;

Parameters

pPrimaryBuffer
IVsTextLines

[in] An IVsTextLines object representing the primary buffer.

pSecondaryBuffer
IVsTextLines

[in] An IVsTextLines object representing the secondary buffer.

Returns

If successful, returns S_OK; otherwise, returns an error code.

Implements

Applies to