VsTextViewClass.GetBuffer(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 current contents of the text buffer.
public:
virtual int GetBuffer([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ % ppBuffer) = Microsoft::VisualStudio::TextManager::Interop::IVsTextView::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::IVsTextView::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 IVsTextLines interface representing the text buffer.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.