This documentation is archived and is not being maintained.

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
/** @attribute InterfaceTypeAttribute(1) */ 
/** @attribute GuidAttribute("76A3B2C0-C743-11D0-A7A6-00A0C9110051") */ 
public interface IVsTextBufferProvider
InterfaceTypeAttribute(1) 
GuidAttribute("76A3B2C0-C743-11D0-A7A6-00A0C9110051") 
public interface IVsTextBufferProvider

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: