VsTextViewClass::SetBuffer Method (IVsTextLines^)
Visual Studio 2015
Associates a text buffer with the view.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- pBuffer
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsTextLines^
[in] Pointer to the text buffer to associate with the view.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsTextView::SetBuffer(IVsTextLines^)
Show: