ICoreWindow.GetKeyState(VirtualKey) 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.
Specifies a method that gets the state of a key.
public:
CoreVirtualKeyStates GetKeyState(VirtualKey virtualKey);
CoreVirtualKeyStates GetKeyState(VirtualKey const& virtualKey);
public CoreVirtualKeyStates GetKeyState(VirtualKey virtualKey);
function getKeyState(virtualKey)
Public Function GetKeyState (virtualKey As VirtualKey) As CoreVirtualKeyStates
Parameters
- virtualKey
- VirtualKey
The virtual key for which state will be returned.
Returns
The state of the supplied virtual key when the input event was raised.