HwndSource.IKeyboardInputSink.TranslateChar(MSG, ModifierKeys) Metoda

Definicja

Aby uzyskać opis tego elementu członkowskiego, zobacz 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);
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
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

Parametry

msg
MSG

Komunikat i skojarzone dane. Nie należy modyfikować tej struktury. Jest on przekazywany przez odwołanie tylko ze względów wydajności.

modifiers
ModifierKeys

Klucze modyfikatora.

Zwraca

Boolean

true jeśli komunikat został przetworzony i OnMnemonic(MSG, ModifierKeys) nie powinien być wywoływany; w przeciwnym razie false.

Implementuje

Atrybuty

Uwagi

Ten element jest jawną implementacją członków. Można go używać tylko wtedy, gdy HwndSource wystąpienie jest rzutowanie do interfejsu IKeyboardInputSink .

Dotyczy