Partilhar via


Método Keyboard.PressModifierKeys (ModifierKeys)

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
Public Shared Sub PressModifierKeys ( _
    keys As ModifierKeys _
)
public static void PressModifierKeys(
    ModifierKeys keys
)
public:
static void PressModifierKeys(
    ModifierKeys keys
)
static member PressModifierKeys : 
        keys:ModifierKeys -> unit 
public static function PressModifierKeys(
    keys : ModifierKeys
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

Keyboard Classe

Sobrecargas PressModifierKeys

Namespace Microsoft.VisualStudio.TestTools.UITesting

ModifierKeys

ReleaseModifierKeys