AcceleratorKeyEventArgs.VirtualKey 属性

定义

获取快捷键事件中 keypress 的虚拟密钥代码。

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

属性值

按下的键的虚拟键代码。

适用于

另请参阅