ICoreWindow.CharacterReceived Evento
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Specifica l'evento generato quando viene ricevuto un nuovo carattere dalla coda di input.
// Register
event_token CharacterReceived(TypedEventHandler<CoreWindow, CharacterReceivedEventArgs const&> const& handler) const;
// Revoke with event_token
void CharacterReceived(event_token const* cookie) const;
// Revoke with event_revoker
ICoreWindow::CharacterReceived_revoker CharacterReceived(auto_revoke_t, TypedEventHandler<CoreWindow, CharacterReceivedEventArgs const&> const& handler) const;
event TypedEventHandler<CoreWindow,CharacterReceivedEventArgs> CharacterReceived;
function onCharacterReceived(eventArgs) { /* Your code */ }
iCoreWindow.addEventListener("characterreceived", onCharacterReceived);
iCoreWindow.removeEventListener("characterreceived", onCharacterReceived);
- or -
iCoreWindow.oncharacterreceived = onCharacterReceived;
Event CharacterReceived As TypedEventHandler(Of CoreWindow, CharacterReceivedEventArgs)