Keyboard.PressModifierKeysImplementation Method

Presses the specified modifier keys without releasing them.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Protected Overridable Sub PressModifierKeysImplementation ( _
    control As UITestControl, _
    keys As ModifierKeys _
)
protected virtual void PressModifierKeysImplementation(
    UITestControl control,
    ModifierKeys keys
)
protected:
virtual void PressModifierKeysImplementation(
    UITestControl^ control, 
    ModifierKeys keys
)
abstract PressModifierKeysImplementation : 
        control:UITestControl * 
        keys:ModifierKeys -> unit 
override PressModifierKeysImplementation : 
        control:UITestControl * 
        keys:ModifierKeys -> unit 
protected function PressModifierKeysImplementation(
    control : UITestControl, 
    keys : ModifierKeys
)

Parameters

.NET Framework Security

See Also

Reference

Keyboard Class

Microsoft.VisualStudio.TestTools.UITesting Namespace

UITestControl

ReleaseModifierKeys