Share via


VsTextBufferCoordinatorClass.GetPrimaryBuffer(IVsTextLines) Method

Definition

Returns the primary language buffer.

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

Parameters

ppBuffer
IVsTextLines

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

Returns

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

Implements

Applies to