IVsTextManagerEvents 接口

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

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

语法

声明
<GuidAttribute("B3175059-C6AA-4519-86C3-1FE594D26C35")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTextManagerEvents
[GuidAttribute("B3175059-C6AA-4519-86C3-1FE594D26C35")]
[InterfaceTypeAttribute()]
public interface IVsTextManagerEvents
[GuidAttribute(L"B3175059-C6AA-4519-86C3-1FE594D26C35")]
[InterfaceTypeAttribute()]
public interface class IVsTextManagerEvents
[<GuidAttribute("B3175059-C6AA-4519-86C3-1FE594D26C35")>]
[<InterfaceTypeAttribute()>]
type IVsTextManagerEvents =  interface end
public interface IVsTextManagerEvents

IVsTextManagerEvents 类型公开以下成员。

方法

  名称 说明
公共方法 OnRegisterMarkerType 激发,当外部标记类型注册。
公共方法 OnRegisterView 个; 当视图注册。
公共方法 OnUnregisterView 个; 在视图中注销。
公共方法 OnUserPreferencesChanged 个; 当更改用户的全局首选项。

页首

备注

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

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

对实现者的说明

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

请参阅

参考

Microsoft.VisualStudio.TextManager.Interop 命名空间