Share via


TextDocumentKeyPressEventsClass 类

此类支持 .NET Framework 基础结构,但不应在代码中直接使用。 有关此功能,请参考 TextDocumentKeyPressEvents。 不要从此类实例化。

继承层次结构

Object
  EnvDTE80.TextDocumentKeyPressEventsClass

命名空间:  EnvDTE80
程序集:  EnvDTE80(在 EnvDTE80.dll 中)

语法

声明
<ClassInterfaceAttribute()> _
<GuidAttribute("E7532A4E-AB9E-41DF-BB9A-7C764677E5C3")> _
Public Class TextDocumentKeyPressEventsClass _
    Implements _TextDocumentKeyPressEvents, TextDocumentKeyPressEvents, _dispTextDocumentKeyPressEvents_Event
[ClassInterfaceAttribute()]
[GuidAttribute("E7532A4E-AB9E-41DF-BB9A-7C764677E5C3")]
public class TextDocumentKeyPressEventsClass : _TextDocumentKeyPressEvents, 
    TextDocumentKeyPressEvents, _dispTextDocumentKeyPressEvents_Event
[ClassInterfaceAttribute()]
[GuidAttribute(L"E7532A4E-AB9E-41DF-BB9A-7C764677E5C3")]
public ref class TextDocumentKeyPressEventsClass : _TextDocumentKeyPressEvents, 
    TextDocumentKeyPressEvents, _dispTextDocumentKeyPressEvents_Event
[<ClassInterfaceAttribute()>]
[<GuidAttribute("E7532A4E-AB9E-41DF-BB9A-7C764677E5C3")>]
type TextDocumentKeyPressEventsClass =  
    class 
        interface _TextDocumentKeyPressEvents 
        interface TextDocumentKeyPressEvents 
        interface _dispTextDocumentKeyPressEvents_Event 
    end
public class TextDocumentKeyPressEventsClass implements _TextDocumentKeyPressEvents, TextDocumentKeyPressEvents, _dispTextDocumentKeyPressEvents_Event

TextDocumentKeyPressEventsClass 类型公开以下成员。

构造函数

  名称 说明
公共方法 TextDocumentKeyPressEventsClass 基础结构。 仅由 Microsoft 内部使用。

页首

方法

  名称 说明
公共方法 add_AfterKeyPress 基础结构。 仅由 Microsoft 内部使用。
公共方法 add_BeforeKeyPress 基础结构。 仅由 Microsoft 内部使用。
公共方法 Equals 确定指定的对象是否等于当前对象。 (继承自 Object。)
受保护的方法 Finalize 在垃圾回收将某一对象回收前允许该对象尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetHashCode 作为默认哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 remove_AfterKeyPress 基础结构。 仅由 Microsoft 内部使用。
公共方法 remove_BeforeKeyPress 基础结构。 仅由 Microsoft 内部使用。
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

事件

  名称 说明
公共事件 AfterKeyPress 在处理完按键且编辑器处理完输入的文本之后,将引发该事件。
公共事件 BeforeKeyPress 在文本编辑器中添加或移除字符的所有按键均将引发该事件。

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参阅

参考

EnvDTE80 命名空间