Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Presses the specified modifier keys without releasing them.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Protected Overridable Sub PressModifierKeysImplementation ( _
control As UITestControl, _
keys As ModifierKeys _
)
protected virtual void PressModifierKeysImplementation(
UITestControl control,
ModifierKeys keys
)
protected:
virtual void PressModifierKeysImplementation(
UITestControl^ control,
ModifierKeys keys
)
abstract PressModifierKeysImplementation :
control:UITestControl *
keys:ModifierKeys -> unit
override PressModifierKeysImplementation :
control:UITestControl *
keys:ModifierKeys -> unit
protected function PressModifierKeysImplementation(
control : UITestControl,
keys : ModifierKeys
)
Parameters
- control
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
A UITestControl.
- keys
Type: System.Windows.Input.ModifierKeys
The sum of one or more values of the ModifierKeys 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.