IVsTextBufferProvider.GetTextBuffer(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.
Retrieves the contents of the text buffer.
public:
int GetTextBuffer([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ % ppTextBuffer);
public:
int GetTextBuffer([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ & ppTextBuffer);
int GetTextBuffer([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextLines const & & ppTextBuffer);
public int GetTextBuffer (out Microsoft.VisualStudio.TextManager.Interop.IVsTextLines ppTextBuffer);
abstract member GetTextBuffer : IVsTextLines -> int
Public Function GetTextBuffer (ByRef ppTextBuffer As IVsTextLines) As Integer
Parameters
- ppTextBuffer
- IVsTextLines
[out] The contents of the text buffer.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsTextBufferProvider::GetTextBuffer(
[out] IVsTextLines **ppTextBuffer
);