Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
keys
Type: ModifierKeysThe 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.