ICoreWindow.GetAsyncKeyState(VirtualKey) ICoreWindow.GetAsyncKeyState(VirtualKey) ICoreWindow.GetAsyncKeyState(VirtualKey) ICoreWindow.GetAsyncKeyState(VirtualKey) Method

Definition

Specifies a method that returns the state of a virtual key asynchronously.

public : CoreVirtualKeyStates GetAsyncKeyState(VirtualKey virtualKey)
CoreVirtualKeyStates GetAsyncKeyState(VirtualKey virtualKey) const;
public CoreVirtualKeyStates GetAsyncKeyState(VirtualKey virtualKey)
Public Function GetAsyncKeyState(virtualKey As VirtualKey) As CoreVirtualKeyStates
Parameters
virtualKey
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.