ICoreWindow.GetKeyState Method

Specifies a method that gets the state of a key.

Syntax

public:
CoreVirtualKeyStates GetKeyState(
         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