KeyboardDevice.GetKeyStates(Key) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the set of key states for the specified Key.
public:
System::Windows::Input::KeyStates GetKeyStates(System::Windows::Input::Key key);
public System.Windows.Input.KeyStates GetKeyStates (System.Windows.Input.Key key);
member this.GetKeyStates : System.Windows.Input.Key -> System.Windows.Input.KeyStates
Public Function GetKeyStates (key As Key) As KeyStates
Parameters
- key
- Key
The key to check.
Returns
The set of key states for the specified key.
Exceptions
key
is not a valid key.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.