Compartilhar via


TextDocumentKeyPressEventsClass Class

This class supports the .NET Framework infrastructure and is not intended to be used directly from your code. Refer to TextDocumentKeyPressEvents for this functionality. Do not instantiate from this class.

Inheritance Hierarchy

Object
  EnvDTE80.TextDocumentKeyPressEventsClass

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

Syntax

'Declaration
<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

The TextDocumentKeyPressEventsClass type exposes the following members.

Constructors

  Name Description
Public method TextDocumentKeyPressEventsClass Infrastructure. Microsoft Internal Use Only.

Top

Methods

  Name Description
Public method add_AfterKeyPress Infrastructure. Microsoft Internal Use Only.
Public method add_BeforeKeyPress Infrastructure. Microsoft Internal Use Only.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method remove_AfterKeyPress Infrastructure. Microsoft Internal Use Only.
Public method remove_BeforeKeyPress Infrastructure. Microsoft Internal Use Only.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event AfterKeyPress Raised after a key press has been handled and the editor has processed the entered text.
Public event BeforeKeyPress Raised for all key presses that add or remove characters in the Text Editor.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

EnvDTE80 Namespace