IVsTextBufferProvider::GetTextBuffer Method (IVsTextLines^)

 

Retrieves the contents of the text buffer.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int GetTextBuffer(
	[OutAttribute] IVsTextLines^% ppTextBuffer
)

Parameters

ppTextBuffer
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextLines^

[out] The contents of the text buffer.

Return Value

Type: System::Int32

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

From vsshell.idl:

HRESULT IVsTextBufferProvider::GetTextBuffer(
   [out] IVsTextLines **ppTextBuffer
);
Return to top
Show: