CoreWindow.GetKeyState method

0 out of 2 rated this helpful - Rate this topic

Gets the state of a key.

Syntax


public CoreVirtualKeyStates GetKeyState(
  VirtualKey virtualKey
)

Parameters

virtualKey

Type: VirtualKey

The virtual key for which state is returned.

Return value

Type: CoreVirtualKeyStates

The state of the supplied virtual key when the input event fired.

Remarks

Windows Phone 8

This API is not implemented and will throw an exception if called.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.UI.Core
Windows::UI::Core [C++]

Metadata

Windows.winmd

See also

CoreWindow
CoreVirtualKeyStates

 

 

Build date: 2/25/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.