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.
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
- Type: Microsoft.VisualStudio.TestTools.UITest.Common.KeyActionType
A member of the KeyActionType enumeration.
- Type: System.String
The value that was generated by the key press.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.