VsTextBufferCoordinatorClass.GetPrimaryBuffer(IVsTextLines) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.