IVsTextBufferProvider Interface
Visual Studio 2015
Enables a DocData object to delegate text buffer (IVsTextLines) implementation.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
| Name | Description | |
|---|---|---|
![]() | GetTextBuffer(IVsTextLines) | Retrieves the contents of the text buffer. |
![]() | LockTextBuffer(Int32) | Locks the text buffer to prevent editing. |
![]() | SetTextBuffer(IVsTextLines) | Writes the text data to the specified text buffer. |
Clients of a DocData object requiring access to its text buffer should first query for IVsTextLines. If the query fails, the client should then query for IVsTextBufferProvider and invoke GetTextBuffer.
Show:
