IVsContainedLanguage.SetBufferCoordinator Method
Allows for a change in buffer coordinators on-the-fly.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Declaration
Function SetBufferCoordinator ( _
pBC As IVsTextBufferCoordinator _
) As Integer
int SetBufferCoordinator(
IVsTextBufferCoordinator pBC
)
int SetBufferCoordinator(
[InAttribute] IVsTextBufferCoordinator^ pBC
)
abstract SetBufferCoordinator :
pBC:IVsTextBufferCoordinator -> int
function SetBufferCoordinator(
pBC : IVsTextBufferCoordinator
) : int
Parameters
- pBC
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferCoordinator
[in] An IVsTextBufferCoordinator object representing the new buffer coordinator.
Return Value
Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.
Remarks
COM Signature
From singlefileeditor.idl:
HRESULT IVsContainedLanguage::SetBufferCoordinator(
[in] IVsTextBufferCoordinator* pBC
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.