VsCodeWindowClass::SetBuffer Method (IVsTextLines^)
Visual Studio 2015
Sets the text buffer for all views in the code window.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- pBuffer
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsTextLines^
[in] Pointer to the IVsTextLines interface of the text buffer to set.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsCodeWindow::SetBuffer(IVsTextLines^)
Show: