Partager via


VsCodeWindowClass.GetBuffer(IVsTextLines) Method

Definition

Returns the buffer used by all views in the code window.

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

Parameters

ppBuffer
IVsTextLines

[out] Pointer to the text buffer object (IVsTextLines interface).

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Applies to