Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

KeyboardAction Constructor

 

Initializes a new instance of the KeyboardAction class.

Namespace:   Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

NameDescription
System_CAPS_pubmethodKeyboardAction()

Initializes a new instance of the KeyboardAction class for XML serialization or deserialization.

System_CAPS_pubmethodKeyboardAction(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.

System_CAPS_pubmethodKeyboardAction(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.

Return to top
Show: