IVsTextBufferProvider Interface

 

Enables a DocData object to delegate text buffer (IVsTextLines) implementation.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

[InterfaceTypeAttribute(1)]
[GuidAttribute("76A3B2C0-C743-11D0-A7A6-00A0C9110051")]
public interface IVsTextBufferProvider

NameDescription
System_CAPS_pubmethodGetTextBuffer(IVsTextLines)

Retrieves the contents of the text buffer.

System_CAPS_pubmethodLockTextBuffer(Int32)

Locks the text buffer to prevent editing.

System_CAPS_pubmethodSetTextBuffer(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.

Return to top
Show: