Condividi tramite


Metodo Keyboard.PressModifierKeysImplementation

Consente di premere i tasti di modifica specificati senza rilasciarli.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Sintassi

'Dichiarazione
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
)

Parametri

Sicurezza di .NET Framework

Vedere anche

Riferimenti

Keyboard Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.UITesting

UITestControl

ReleaseModifierKeys