RemoveKeysAction Constructor (ModifierKeys, Keys)
Initializes a new instance of the RemoveKeysAction class by using the provided keys and modifiers.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Public Sub New ( _
modifierKeys As ModifierKeys, _
key As Keys _
)
public RemoveKeysAction(
ModifierKeys modifierKeys,
Keys key
)
public:
RemoveKeysAction(
ModifierKeys modifierKeys,
Keys key
)
new :
modifierKeys:ModifierKeys *
key:Keys -> RemoveKeysAction
public function RemoveKeysAction(
modifierKeys : ModifierKeys,
key : Keys
)
Parameters
- modifierKeys
Type: System.Windows.Input.ModifierKeys
A member of the ModifierKeys enumeration.
- key
Type: System.Windows.Forms.Keys
A member of the Keys enumeration.
.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.