Keyboard Methods

The Keyboard type exposes the following members.

  NameDescription
Public method Dispose() Releases all resources that are used by the current instance of the Keyboard class.
Protected method Dispose(Boolean) Releases the unmanaged resources that are used by the Keyboard and optionally releases the managed resources.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Releases unmanaged resources and performs other cleanup operations before this Keyboard instance is reclaimed by garbage collection. (Overrides Object.Finalize().)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member PressModifierKeys(ModifierKeys) Presses the specified modifier keys without releasing them.
Public method Static member PressModifierKeys(UITestControl, ModifierKeys) Presses the specified modifier keys in the given control without releasing them.
Protected method PressModifierKeysImplementation Presses the specified modifier keys without releasing them.
Public method Static member ReleaseModifierKeys(ModifierKeys) Releases the specified keys that were previously pressed by using the PressModifierKeys method.
Public method Static member ReleaseModifierKeys(UITestControl, ModifierKeys) Releases the specified keys that were previously pressed by using the PressModifierKeys method in the given control.
Protected method ReleaseModifierKeysImplementation Infrastructure. Presses the specified modifier keys in the given control without releasing them.
Public method Static member SendKeys(String) Sends keystrokes to generate the specified text string.
Public method Static member SendKeys(String, Boolean) Sends keystrokes to generate the specified text string.
Public method Static member SendKeys(String, ModifierKeys) Sends keystrokes to generate the specified text string.
Public method Static member SendKeys(UITestControl, String) Sends keystrokes to generate the specified text string.
Public method Static member SendKeys(String, ModifierKeys, Boolean) Sends keystrokes to generate the specified text string.
Public method Static member SendKeys(UITestControl, String, Boolean) Sends keystrokes to generate the specified text string.
Public method Static member SendKeys(UITestControl, String, ModifierKeys) Sends keystrokes to the provided control to generate the specified text string by using the provided modifier keys.
Public method Static member SendKeys(String, ModifierKeys, Boolean, Boolean) Sends keystrokes to the provided control to generate the specified text string using the provided modifier keys and indicators for encoding and unicode.
Public method Static member SendKeys(UITestControl, String, ModifierKeys, Boolean) Sends keystrokes to the provided control to generate the specified text string using the provided modifier keys and encoding indicator.
Public method Static member SendKeys(UITestControl, String, ModifierKeys, Boolean, Boolean) Sends keystrokes to the provided control to generate the specified text string by using the provided modifier keys and indicators for encoding and unicode.
Protected method SendKeysImplementation
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

Community Additions

ADD
Show: