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 const& virtualKey);
public CoreVirtualKeyStates GetAsyncKeyState(VirtualKey virtualKey);
function getAsyncKeyState(virtualKey)
Public Function GetAsyncKeyState (virtualKey As VirtualKey) As CoreVirtualKeyStates

Parameters

virtualKey
VirtualKey

The virtual key for which state will be returned.

Returns

CoreVirtualKeyStates

The state of the supplied virtual key when the input event was raised.

Applies to