Share via


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

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

See Also

Reference

IVsContainedLanguage Interface

Microsoft.VisualStudio.TextManager.Interop Namespace