HwndSource.IKeyboardInputSink.TranslateChar(MSG, ModifierKeys) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Pour obtenir une description de ce membre, consultez TranslateChar(MSG, ModifierKeys).
virtual bool System.Windows.Interop.IKeyboardInputSink.TranslateChar(System::Windows::Interop::MSG % msg, System::Windows::Input::ModifierKeys modifiers) = System::Windows::Interop::IKeyboardInputSink::TranslateChar;
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
bool IKeyboardInputSink.TranslateChar(ref System.Windows.Interop.MSG msg, System.Windows.Input.ModifierKeys modifiers);
[System.Security.SecurityCritical]
bool IKeyboardInputSink.TranslateChar(ref System.Windows.Interop.MSG msg, System.Windows.Input.ModifierKeys modifiers);
[<System.Security.SecurityCritical>]
[<System.Security.SecurityTreatAsSafe>]
abstract member System.Windows.Interop.IKeyboardInputSink.TranslateChar : MSG * System.Windows.Input.ModifierKeys -> bool
override this.System.Windows.Interop.IKeyboardInputSink.TranslateChar : MSG * System.Windows.Input.ModifierKeys -> bool
[<System.Security.SecurityCritical>]
abstract member System.Windows.Interop.IKeyboardInputSink.TranslateChar : MSG * System.Windows.Input.ModifierKeys -> bool
override this.System.Windows.Interop.IKeyboardInputSink.TranslateChar : MSG * System.Windows.Input.ModifierKeys -> bool
Function TranslateChar (ByRef msg As MSG, modifiers As ModifierKeys) As Boolean Implements IKeyboardInputSink.TranslateChar
Paramètres
- msg
- MSG
Message et données associées. Ne modifiez pas cette structure. Elle est transmise par référence uniquement pour des raisons de performances.
- modifiers
- ModifierKeys
Touches de modificateur.
Retours
true si le message a été traité et OnMnemonic(MSG, ModifierKeys) ne doit pas être appelé ; sinon, false.
Implémente
- Attributs
Remarques
Ce membre est une implémentation explicite de membre d’interface. Elle ne peut être utilisée que lorsque l’instance HwndSource est convertie en IKeyboardInputSink interface.