IVsContainedLanguage.SetBufferCoordinator(IVsTextBufferCoordinator) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allows for a change in buffer coordinators on-the-fly.
public:
int SetBufferCoordinator(Microsoft::VisualStudio::TextManager::Interop::IVsTextBufferCoordinator ^ pBC);
public:
int SetBufferCoordinator(Microsoft::VisualStudio::TextManager::Interop::IVsTextBufferCoordinator ^ pBC);
int SetBufferCoordinator(Microsoft::VisualStudio::TextManager::Interop::IVsTextBufferCoordinator const & pBC);
public int SetBufferCoordinator (Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferCoordinator pBC);
abstract member SetBufferCoordinator : Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferCoordinator -> int
Public Function SetBufferCoordinator (pBC As IVsTextBufferCoordinator) As Integer
Parameters
[in] An IVsTextBufferCoordinator object representing the new buffer coordinator.
Returns
If successful, returns S_OK; otherwise, returns an error code.
Remarks
COM Signature
From singlefileeditor.idl:
HRESULT IVsContainedLanguage::SetBufferCoordinator(
[in] IVsTextBufferCoordinator* pBC
);