Keyboard.ReleaseModifierKeysImplementation Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Presses the specified modifier keys in the given control without releasing them.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Protected Overridable Sub ReleaseModifierKeysImplementation ( _
control As UITestControl, _
keys As ModifierKeys _
)
protected virtual void ReleaseModifierKeysImplementation(
UITestControl control,
ModifierKeys keys
)
protected:
virtual void ReleaseModifierKeysImplementation(
UITestControl^ control,
ModifierKeys keys
)
abstract ReleaseModifierKeysImplementation :
control:UITestControl *
keys:ModifierKeys -> unit
override ReleaseModifierKeysImplementation :
control:UITestControl *
keys:ModifierKeys -> unit
protected function ReleaseModifierKeysImplementation(
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.