KeyboardAction Constructor (IAfxElement, KeyActionType, Keys, String)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Public Sub New ( _
uiElement As IAfxElement, _
actionType As KeyActionType, _
key As Keys, _
keyValue As String _
)
'Usage
Dim uiElement As IAfxElement
Dim actionType As KeyActionType
Dim key As Keys
Dim keyValue As String
Dim instance As New KeyboardAction(uiElement, _
actionType, key, keyValue)
public KeyboardAction(
IAfxElement uiElement,
KeyActionType actionType,
Keys key,
string keyValue
)
public:
KeyboardAction(
IAfxElement^ uiElement,
KeyActionType actionType,
Keys key,
String^ keyValue
)
public function KeyboardAction(
uiElement : IAfxElement,
actionType : KeyActionType,
key : Keys,
keyValue : String
)
new :
uiElement:IAfxElement *
actionType:KeyActionType *
key:Keys *
keyValue:string -> KeyboardAction
Parameters
- uiElement
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IAfxElement
- actionType
Type: Microsoft.VisualStudio.TestTools.UITest.Common.KeyActionType
- key
Type: System.Windows.Forms.Keys
- keyValue
Type: System.String
.NET Framework Security
- 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.