IVsTextBufferProvider::SetTextBuffer Method (IVsTextLines^)
Visual Studio 2015
Writes the text data to the specified text buffer.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pTextBuffer
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsTextLines^
[in] Storage for textual data to be placed directly in the DocData.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsTextBufferProvider::SetTextBuffer(
[in] IVsTextLines *pTextBuffer
);
Show: