IVsTextView::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.
From textmgr.idl:
HRESULT IVsTextView::SetBuffer(
[in] IVsTextLines *pBuffer
);
This method is called by the environment.
Show: