다음을 통해 공유


IVsContainedLanguage.SetBufferCoordinator(IVsTextBufferCoordinator) Method

Definition

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

pBC
IVsTextBufferCoordinator

[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  
);  

Applies to