Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal keyCode As Integer, _ ByVal alt As Boolean, _ ByVal control As Boolean, _ ByVal shift As Boolean _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim keyCode As Integer Dim alt As Boolean Dim control As Boolean Dim shift As Boolean Dim instance As New KeyEventArgs(keyCode, alt, control, shift) |
Parameters
- keyCode
- alt
- control
- shift
The constructor initializes a new instance of KeyEventArgs with KeyEventArgs.KeyCode, KeyEventArgs.Alt, KeyEventArgs.Control, KeyEventArgs.Shift.
Target Platforms: Microsoft .NET Framework 2.0