Control.RaiseKeyEvent Method (Object, KeyEventArgs)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Raises the appropriate key event.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- key
-
Type:
System.Object
The event to raise.
- e
-
Type:
System.Windows.Forms.KeyEventArgs
A KeyEventArgs that contains the event data.
.NET Framework
Available since 1.1
Available since 1.1
Show: