IVsTextBufferEvents 接口

,在新语言服务与文本缓冲区时,将通知客户端。

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop(在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

语法

声明
<InterfaceTypeAttribute()> _
<GuidAttribute("44B0CAB3-6DF8-4931-9064-8FD18AFBC88E")> _
Public Interface IVsTextBufferEvents
[InterfaceTypeAttribute()]
[GuidAttribute("44B0CAB3-6DF8-4931-9064-8FD18AFBC88E")]
public interface IVsTextBufferEvents
[InterfaceTypeAttribute()]
[GuidAttribute(L"44B0CAB3-6DF8-4931-9064-8FD18AFBC88E")]
public interface class IVsTextBufferEvents
[<InterfaceTypeAttribute()>]
[<GuidAttribute("44B0CAB3-6DF8-4931-9064-8FD18AFBC88E")>]
type IVsTextBufferEvents =  interface end
public interface IVsTextBufferEvents

IVsTextBufferEvents 类型公开以下成员。

方法

  名称 说明
公共方法 OnNewLanguageService ,在新语言服务与缓冲区时,将通知客户端。

页首

备注

,当文本缓冲区的语言服务更改时,可实现在客户端对象的此接口接收通知。 使用文本缓冲区对象,显示该接口在文本缓冲区, VsTextBufferIConnectionPointContainer 接口。

IVsTextBufferIVsTextBufferEvents ,当在语言服务更改。 然后,该系统通知您切换到不同的语言服务将调用 OnNewLanguageService 实现。

对实现者的说明

,当文本缓冲区的语言服务更改时,可实现在客户端对象的此接口接收通知。

请参阅

参考

Microsoft.VisualStudio.TextManager.Interop 命名空间