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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2