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

发生输入的时间。

适用于

另请参阅