Partager via


IVsTextBufferCoordinator.GetSecondaryBuffer(IVsTextLines) Method

Definition

Returns the secondary language buffer.

public:
 int GetSecondaryBuffer([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ % ppBuffer);
public:
 int GetSecondaryBuffer([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ &  ppBuffer);
int GetSecondaryBuffer([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLines const & & ppBuffer);
public int GetSecondaryBuffer (out Microsoft.VisualStudio.TextManager.Interop.IVsTextLines ppBuffer);
abstract member GetSecondaryBuffer : IVsTextLines -> int
Public Function GetSecondaryBuffer (ByRef ppBuffer As IVsTextLines) As Integer

Parameters

ppBuffer
IVsTextLines

[out] Returns an IVsTextLines object that represents the secondary buffer.

Returns

If successful, returns S_OK; otherwise, returns an error code.

Remarks

COM Signature

From singlefileeditor.idl:

HRESULT GetSecondaryBuffer(  
   [out] IVsTextLines **ppBuffer  
);  

Applies to