ICoreWindow.GetAsyncKeyState Method

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

Syntax

public:
CoreVirtualKeyStates GetAsyncKeyState(
         VirtualKey virtualKey
)  

Parameters

virtualKey
Type: VirtualKey 

The virtual key for which state will be returned.

Return value

Type: CoreVirtualKeyStates 

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

Remarks

Requirements

Namespace: Windows.UI.Core

Metadata: windows.winmd

See also

Reference

ICoreWindow Interface

ICoreWindow Members

Windows.UI.Core Namespace