We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

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.


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

public class TextDocumentKeyPressEventsClass : _TextDocumentKeyPressEvents, 
	TextDocumentKeyPressEvents, _dispTextDocumentKeyPressEvents_Event

The TextDocumentKeyPressEventsClass type exposes the following members.

Public methodTextDocumentKeyPressEventsClassInfrastructure. Microsoft Internal Use Only.

Public methodadd_AfterKeyPressInfrastructure. Microsoft Internal Use Only.
Public methodadd_BeforeKeyPressInfrastructure. Microsoft Internal Use Only.
Public methodEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodremove_AfterKeyPressInfrastructure. Microsoft Internal Use Only.
Public methodremove_BeforeKeyPressInfrastructure. Microsoft Internal Use Only.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Public eventAfterKeyPressRaised after a key press has been handled and the editor has processed the entered text.
Public eventBeforeKeyPressRaised for all key presses that add or remove characters in the Text Editor.

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