KeyEventArgs.VirtualKey 属性

定义

获取映射到按下的键的虚拟键。

public:
 property VirtualKey VirtualKey { VirtualKey get(); };
VirtualKey VirtualKey();
public VirtualKey VirtualKey { get; }
var virtualKey = keyEventArgs.virtualKey;
Public ReadOnly Property VirtualKey As VirtualKey

属性值

映射到按下的键的虚拟键。

适用于