Partager via


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)

Syntax

'Déclaration
<InterfaceTypeAttribute()> _
<GuidAttribute("76A3B2C0-C743-11D0-A7A6-00A0C9110051")> _
Public Interface IVsTextBufferProvider
'Utilisation
Dim instance As IVsTextBufferProvider
[InterfaceTypeAttribute()]
[GuidAttribute("76A3B2C0-C743-11D0-A7A6-00A0C9110051")]
public interface IVsTextBufferProvider
[InterfaceTypeAttribute()]
[GuidAttribute(L"76A3B2C0-C743-11D0-A7A6-00A0C9110051")]
public interface class IVsTextBufferProvider
[<InterfaceTypeAttribute()>]
[<GuidAttribute("76A3B2C0-C743-11D0-A7A6-00A0C9110051")>]
type IVsTextBufferProvider =  interface end
public interface IVsTextBufferProvider

Remarks

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.

See Also

Reference

IVsTextBufferProvider Members

Microsoft.VisualStudio.Shell.Interop Namespace