IVsTextManagerEvents2 接口

通知更改的用户在文本管理器中。

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

语法

声明
<InterfaceTypeAttribute()> _
<GuidAttribute("4697E418-183E-414E-9173-E5FBF27692A9")> _
Public Interface IVsTextManagerEvents2
[InterfaceTypeAttribute()]
[GuidAttribute("4697E418-183E-414E-9173-E5FBF27692A9")]
public interface IVsTextManagerEvents2
[InterfaceTypeAttribute()]
[GuidAttribute(L"4697E418-183E-414E-9173-E5FBF27692A9")]
public interface class IVsTextManagerEvents2
[<InterfaceTypeAttribute()>]
[<GuidAttribute("4697E418-183E-414E-9173-E5FBF27692A9")>]
type IVsTextManagerEvents2 =  interface end
public interface IVsTextManagerEvents2

IVsTextManagerEvents2 类型公开以下成员。

方法

  名称 说明
公共方法 OnRegisterMarkerType 激发,当外部标记类型注册。
公共方法 OnRegisterView 激发时,视图注册。
公共方法 OnReplaceAllInFilesBegin 激发,在文件操作的一替换整个启动。
公共方法 OnReplaceAllInFilesEnd 激发,在文件操作的一替换整个关闭。
公共方法 OnUnregisterView 激发,在视图中注销。
公共方法 OnUserPreferencesChanged2 激发更改,则用户的全局首选项。

页首

备注

使用文本管理器在环境中。 文本管理器管理处于活动状态在任何给定点,所有不同语言的用户设置和任何其他全局首选项与内核文本编辑器相关的所有文本缓冲区。 实现 IVsTextManagerEvents 接收更改的通知这些全局设置的。 显示该接口在使用文本管理器的文本管理器 IConnectionPointContainer 接口接收行更改的通知从此缓冲区中。

请参见实现和/或调用的插图在示例 Figures EditFigures Language Service的此接口。

对实现者的说明

实现此接口接收从文本管理器的事件通知。

请参阅

参考

Microsoft.VisualStudio.TextManager.Interop 命名空间