Share via


KeyboardAction Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of the KeyboardAction class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method KeyboardAction() Initializes a new instance of the KeyboardAction class for XML serialization or deserialization.
Public method KeyboardAction(KeyActionType, Keys, String) Initializes a new instance of the KeyboardAction class by using the provided type of key event, the key that was pressed, and the value that was generated by that key.
Public method KeyboardAction(UITechnologyElement, KeyActionType, Keys, String) Initializes a new instance of the KeyboardAction class by using the provided element, type of key event, the key that was pressed, and the value that was generated by that key.

Top

See Also

Reference

KeyboardAction Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace