IVsTextBufferProvider.SetTextBuffer(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.
Writes the text data to the specified text buffer.
public:
int SetTextBuffer(Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ pTextBuffer);
public:
int SetTextBuffer(Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ pTextBuffer);
int SetTextBuffer(Microsoft::VisualStudio::TextManager::Interop::IVsTextLines const & pTextBuffer);
public int SetTextBuffer (Microsoft.VisualStudio.TextManager.Interop.IVsTextLines pTextBuffer);
abstract member SetTextBuffer : Microsoft.VisualStudio.TextManager.Interop.IVsTextLines -> int
Public Function SetTextBuffer (pTextBuffer As IVsTextLines) As Integer
Parameters
- pTextBuffer
- IVsTextLines
[in] Storage for textual data to be placed directly in the DocData.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsTextBufferProvider::SetTextBuffer(
[in] IVsTextLines *pTextBuffer
);