| Overload | Description | 
|---|---|
| Keystroke Constructor(SerializationInfo,StreamingContext) | Creates a new keystroke from serialization. | 
| Keystroke Constructor(Char) | Creates a new keystroke with the specified character. | 
| Keystroke Constructor(Keys,Keys) | Creates a new keystroke with a specified a key code and modifier keys. | 
| Keystroke Constructor(Keys,Keys,Boolean) | Creates a new keystroke with a specified a key code, modifier keys, and whether the keystroke is active on key release. | 
These constructors initialize a new Keystroke object.
            
            
            
            
            Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8