IVsTextBufferProvider::SetTextBuffer Method (IVsTextLines^)

 

Writes the text data to the specified text buffer.

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

int SetTextBuffer(
	IVsTextLines^ pTextBuffer
)

Parameters

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

[in] Storage for textual data to be placed directly in the DocData.

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::SetTextBuffer(
   [in] IVsTextLines *pTextBuffer
);
Return to top
Show: