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

  • keys
    Type: ModifierKeys

    The sum of one or more values of the ModifierKeys enumeration.

.NET Framework Security

See Also

Reference

Keyboard Class

Microsoft.VisualStudio.TestTools.UITesting Namespace

UITestControl

ModifierKeys