다음을 통해 공유


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

‘선언
<InterfaceTypeAttribute()> _
<GuidAttribute("76A3B2C0-C743-11D0-A7A6-00A0C9110051")> _
Public Interface IVsTextBufferProvider
‘사용 방법
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
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