Freigeben über


VsTextBufferCoordinatorClass.SetBuffers Method

Establishes the primary and secondary buffers that are to be managed by the buffer coordinator object.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'Declaration
Public Overridable Function SetBuffers ( _
    pPrimaryBuffer As IVsTextLines, _
    pSecondaryBuffer As IVsTextLines _
) As Integer
public virtual int SetBuffers(
    IVsTextLines pPrimaryBuffer,
    IVsTextLines pSecondaryBuffer
)
public:
virtual int SetBuffers(
    [InAttribute] IVsTextLines^ pPrimaryBuffer, 
    [InAttribute] IVsTextLines^ pSecondaryBuffer
)
abstract SetBuffers : 
        pPrimaryBuffer:IVsTextLines * 
        pSecondaryBuffer:IVsTextLines -> int 
override SetBuffers : 
        pPrimaryBuffer:IVsTextLines * 
        pSecondaryBuffer:IVsTextLines -> int 
public function SetBuffers(
    pPrimaryBuffer : IVsTextLines, 
    pSecondaryBuffer : IVsTextLines
) : int

Parameters

Return Value

Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.

Implements

IVsTextBufferCoordinator.SetBuffers(IVsTextLines, IVsTextLines)

.NET Framework Security

See Also

Reference

VsTextBufferCoordinatorClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace