IVsCodeWindow.SetBuffer(IVsTextLines) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the text buffer for all views in the code window.
public:
int SetBuffer(Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ pBuffer);
public:
int SetBuffer(Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ pBuffer);
int SetBuffer(Microsoft::VisualStudio::TextManager::Interop::IVsTextLines const & pBuffer);
public int SetBuffer (Microsoft.VisualStudio.TextManager.Interop.IVsTextLines pBuffer);
abstract member SetBuffer : Microsoft.VisualStudio.TextManager.Interop.IVsTextLines -> int
Public Function SetBuffer (pBuffer As IVsTextLines) As Integer
Parameters
- pBuffer
- IVsTextLines
[in] Pointer to the IVsTextLines interface of the text buffer to set.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsCodeWindow::SetBuffer(
[in] IVsTextLines *pBuffer
);