共用方式為


KeyEventArgs.VirtualKey 屬性

定義

取得對應至按下之按鍵的虛擬按鍵。

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

屬性值

對應至按下之按鍵的虛擬按鍵。

適用於