Freigeben über


TextDocumentKeyPressEventsClass Class

Definition

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.

public ref class TextDocumentKeyPressEventsClass : EnvDTE80::TextDocumentKeyPressEvents
public ref class TextDocumentKeyPressEventsClass
[Windows::Foundation::Metadata::WebHostHidden]
class TextDocumentKeyPressEventsClass : EnvDTE80::TextDocumentKeyPressEvents
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE80._dispTextDocumentKeyPressEvents\0")]
[System.Runtime.InteropServices.Guid("E7532A4E-AB9E-41DF-BB9A-7C764677E5C3")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class TextDocumentKeyPressEventsClass : EnvDTE80.TextDocumentKeyPressEvents
[System.Runtime.InteropServices.Guid("E7532A4E-AB9E-41DF-BB9A-7C764677E5C3")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE80._dispTextDocumentKeyPressEvents")]
[System.Runtime.InteropServices.ComVisible(false)]
public class TextDocumentKeyPressEventsClass
[<System.Runtime.InteropServices.ClassInterface(0)>]
[<System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE80._dispTextDocumentKeyPressEvents\0")>]
[<System.Runtime.InteropServices.Guid("E7532A4E-AB9E-41DF-BB9A-7C764677E5C3")>]
[<System.Runtime.InteropServices.TypeLibType(2)>]
type TextDocumentKeyPressEventsClass = class
    interface _TextDocumentKeyPressEvents
    interface TextDocumentKeyPressEvents
    interface _dispTextDocumentKeyPressEvents_Event
[<System.Runtime.InteropServices.Guid("E7532A4E-AB9E-41DF-BB9A-7C764677E5C3")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.ComSourceInterfaces("EnvDTE80._dispTextDocumentKeyPressEvents")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type TextDocumentKeyPressEventsClass = class
Public Class TextDocumentKeyPressEventsClass
Implements TextDocumentKeyPressEvents
Public Class TextDocumentKeyPressEventsClass
Inheritance
TextDocumentKeyPressEventsClass
Attributes
Implements

Constructors

TextDocumentKeyPressEventsClass()

Microsoft Internal Use Only.

Methods

add_AfterKeyPress(_dispTextDocumentKeyPressEvents_AfterKeyPressEventHandler)
add_BeforeKeyPress(_dispTextDocumentKeyPressEvents_BeforeKeyPressEventHandler)
remove_AfterKeyPress(_dispTextDocumentKeyPressEvents_AfterKeyPressEventHandler)
remove_BeforeKeyPress(_dispTextDocumentKeyPressEvents_BeforeKeyPressEventHandler)

Events

AfterKeyPress

Raised after a key press has been handled and the editor has processed the entered text.

BeforeKeyPress

Raised for all key presses that add or remove characters in the Text Editor.

Applies to