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.
Releases the specified keys that were previously pressed by using the PressModifierKeys method in the given control.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Shared Sub ReleaseModifierKeys ( _
control As UITestControl, _
keys As ModifierKeys _
)
public static void ReleaseModifierKeys(
UITestControl control,
ModifierKeys keys
)
public:
static void ReleaseModifierKeys(
UITestControl^ control,
ModifierKeys keys
)
static member ReleaseModifierKeys :
control:UITestControl *
keys:ModifierKeys -> unit
public static function ReleaseModifierKeys(
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.