启用对委托文本缓冲区 (IVsTextLines) 实现的一 DocData 对象。
命名空间: Microsoft.VisualStudio.Shell.Interop
程序集: Microsoft.VisualStudio.Shell.Interop(在 Microsoft.VisualStudio.Shell.Interop.dll 中)
语法
声明
<InterfaceTypeAttribute()> _
<GuidAttribute("76A3B2C0-C743-11D0-A7A6-00A0C9110051")> _
Public Interface IVsTextBufferProvider
[InterfaceTypeAttribute()]
[GuidAttribute("76A3B2C0-C743-11D0-A7A6-00A0C9110051")]
public interface IVsTextBufferProvider
IVsTextBufferProvider 类型公开以下成员。
方法
名称 | 说明 | |
---|---|---|
![]() |
GetTextBuffer | . |
![]() |
LockTextBuffer | . |
![]() |
SetTextBuffer | . |
页首
备注
需要对其文本缓冲区的 DocData 对象的客户端访问应为 IVsTextLines首先查询。如果查询失败,客户端应为 IVsTextBufferProvider 然后查询和调用 GetTextBuffer。