共用方式為


AcceleratorKeyEventArgs.VirtualKey 屬性

定義

取得快速鍵事件中按鍵的虛擬按鍵程式碼。

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

屬性值

按下之按鍵的虛擬按鍵碼。

適用於

另請參閱