KeyboardDevice.GetKeyStatesFromSystem(Key) 方法

定义

当在派生类中重写时,获取指定 KeyStatesKey

protected:
 abstract System::Windows::Input::KeyStates GetKeyStatesFromSystem(System::Windows::Input::Key key);
protected abstract System.Windows.Input.KeyStates GetKeyStatesFromSystem (System.Windows.Input.Key key);
abstract member GetKeyStatesFromSystem : System.Windows.Input.Key -> System.Windows.Input.KeyStates
Protected MustOverride Function GetKeyStatesFromSystem (key As Key) As KeyStates

参数

key
Key

要检查的键。

返回

指定键的键状态集。

适用于