HwndHost.IKeyboardInputSink.OnMnemonic(MSG, ModifierKeys) 方法

定义

有关此成员的说明,请参见 OnMnemonic(MSG, ModifierKeys)

 virtual bool System.Windows.Interop.IKeyboardInputSink.OnMnemonic(System::Windows::Interop::MSG % msg, System::Windows::Input::ModifierKeys modifiers) = System::Windows::Interop::IKeyboardInputSink::OnMnemonic;
[System.Security.SecurityCritical]
bool IKeyboardInputSink.OnMnemonic (ref System.Windows.Interop.MSG msg, System.Windows.Input.ModifierKeys modifiers);
bool IKeyboardInputSink.OnMnemonic (ref System.Windows.Interop.MSG msg, System.Windows.Input.ModifierKeys modifiers);
[<System.Security.SecurityCritical>]
abstract member System.Windows.Interop.IKeyboardInputSink.OnMnemonic : MSG * System.Windows.Input.ModifierKeys -> bool
override this.System.Windows.Interop.IKeyboardInputSink.OnMnemonic : MSG * System.Windows.Input.ModifierKeys -> bool
abstract member System.Windows.Interop.IKeyboardInputSink.OnMnemonic : MSG * System.Windows.Input.ModifierKeys -> bool
override this.System.Windows.Interop.IKeyboardInputSink.OnMnemonic : MSG * System.Windows.Input.ModifierKeys -> bool
Function OnMnemonic (ByRef msg As MSG, modifiers As ModifierKeys) As Boolean Implements IKeyboardInputSink.OnMnemonic

参数

msg
MSG

助记键和关联数据的消息。 请勿修改此消息结构。 仅由于性能原因,通过引用来传递此消息。

modifiers
ModifierKeys

修改键。

返回

如果消息已处理,则为 true;否则为 false

实现

属性

注解

此成员是显式接口成员的实现。 它只能在 HwndHost 实例被强制转换为 IKeyboardInputSink 接口时使用。

适用于