The object constructor for the
KeyDownEventArgs object.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim keyCode As Short
Dim shiftState As Short
Dim instance As New KeyDownEventArgs(keyCode, shiftState) |
Parameters
- keyCode
- The short integer value identifying which key was pressed.
- shiftState
- The short integer shift state flags. 0x0001 = Shift is pressed, 0x0002 = Ctrl is pressed, and 0x0004 = Alt is pressed
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also