Partilhar via


Método Keyboard.PressModifierKeysImplementation

Pressiona as teclas modificadoras especificado sem liberando-os.

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

Sintaxe

'Declaração
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
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

Keyboard Classe

Namespace Microsoft.VisualStudio.TestTools.UITesting

UITestControl

ReleaseModifierKeys