This documentation is archived and is not being maintained.

IVsTextBufferProvider.GetTextBuffer Method


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

int GetTextBuffer (
	out IVsTextLines ppTextBuffer
int GetTextBuffer (
	/** @attribute OutAttribute() */ /** @ref */ IVsTextLines ppTextBuffer
JScript does not support passing value-type arguments by reference.




Return Value

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

COM Signature

From vsshell.idl:

HRESULT IVsTextBufferProvider::GetTextBuffer(
   [out] IVsTextLines **ppTextBuffer