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

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

public:
KeyboardAction(
	KeyActionType actionType,
	Keys key,
	String^ keyValue
)

Parameters

actionType
Type: Microsoft.VisualStudio.TestTools.UITest.Common::KeyActionType

A member of the KeyActionType enumeration.

key
Type: System.Windows.Forms::Keys

A member of the Keys enumeration.

keyValue
Type: System::String^

The value that was generated by the key press.

Return to top
Show: