다음을 통해 공유


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

‘선언
Function SetBufferCoordinator ( _
    pBC As IVsTextBufferCoordinator _
) As Integer
‘사용 방법
Dim instance As IVsContainedLanguage
Dim pBC As IVsTextBufferCoordinator
Dim returnValue As Integer

returnValue = instance.SetBufferCoordinator(pBC)
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

IVsContainedLanguage Members

Microsoft.VisualStudio.TextManager.Interop Namespace