Proprietà Events2.TextDocumentKeyPressEvents

Ottiene un oggetto evento che può essere utilizzato per individuare gli eventi principali di stampa all'interno di un editor di testo.

Spazio dei nomi:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

Sintassi

'Dichiarazione
ReadOnly Property TextDocumentKeyPressEvents ( _
    TextDocument As TextDocument _
) As TextDocumentKeyPressEvents
TextDocumentKeyPressEvents this[
    TextDocument TextDocument
] { get; }
property TextDocumentKeyPressEvents^ TextDocumentKeyPressEvents[[InAttribute] TextDocument^ TextDocument] {
    TextDocumentKeyPressEvents^ get ([InAttribute] TextDocument^ TextDocument);
}
abstract TextDocumentKeyPressEvents : TextDocumentKeyPressEvents
JScript non supporta le proprietà indicizzate.

Parametri

Valore proprietà

Tipo: EnvDTE80.TextDocumentKeyPressEvents
In TextDocumentKeyPressEvents oggetto.

Note

Questo evento si verifica solo quando i tasti carattere stampabile sono tipizzate, non per ogni chiave premuta la tastiera.Ad esempio, i tasti di direzione e i tasti funzione non genera l'evento.)

Se è necessario acquisire i keypresses non di carattere, l'evento di System.Windows.Forms.Control.KeyPress attiva gli eventi di System.Windows.Forms.Control.KeyUp e di System.Windows.Forms.Control.KeyDown.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

Events2 Interfaccia

Spazio dei nomi EnvDTE80