-api-id | -api-type |
---|---|
M:Windows.UI.Core.CoreWindow.GetAsyncKeyState(Windows.System.VirtualKey) |
winrt method |
Asynchronously retrieves the state of a virtual key.
The virtual key for which state is returned.
The flags indicating the current state of the supplied virtual key when the input event fired.
Note
All keys support the Locked state (not just the standard Caps Lock and Num Lock keys).