ICoreWindow.GetAsyncKeyState(VirtualKey) 方法

定义

指定异步返回虚拟键状态的方法。

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

参数

virtualKey
VirtualKey

将为其返回状态的虚拟密钥。

返回

引发输入事件时提供的虚拟密钥的状态。

适用于