Keyboard events class.
| C# | Visual Basic | Visual Basic Usage |
public class KeyBoard
Public Class KeyBoard
Dim instance As KeyBoard
| All Members | Constructors | Methods | |||
| Icon | Member | Description |
|---|---|---|
| KeyBoard(Desktop) |
Create a new keyboard object.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| KeyDown(Keys) |
Simulates a key down. (Press-Hold)
| |
| KeyPress(Keys) |
Simulates a keyboard key press (down/up).
| |
| KeyPress(Keys, Int32) |
Simulates a keyboard key press with a hold delay.
| |
| KeyUp(Keys) |
Simulates a key up. (Key-Release)
| |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| SendString(String) |
Sends a string to the active application using SendKeys
| |
| ToString()()() | (Inherited from Object.) | |
| TypeText(String, Int32) |
Types text one character at a time with a specific type speed. This function does not
support special keywords (i.e {TAB}, {SPACE}) or special characters like ^,+..etc. to simulate special keys
use SendString if you want to send special characters like Ctrl/Shift..etc.
|
| Object | |
| KeyBoard | |
