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