共用方式為


KeyboardEventArgs(KeyboardDevice, Int32) 建構函式

定義

初始化 KeyboardEventArgs 類別的新執行個體。

public:
 KeyboardEventArgs(System::Windows::Input::KeyboardDevice ^ keyboard, int timestamp);
public KeyboardEventArgs (System.Windows.Input.KeyboardDevice keyboard, int timestamp);
new System.Windows.Input.KeyboardEventArgs : System.Windows.Input.KeyboardDevice * int -> System.Windows.Input.KeyboardEventArgs
Public Sub New (keyboard As KeyboardDevice, timestamp As Integer)

參數

keyboard
KeyboardDevice

與這個事件相關聯的邏輯鍵盤裝置。

timestamp
Int32

輸入的時間。

適用於

另請參閱