Condividi tramite


Proprietà KeyboardAction.Key

 

Ottiene o imposta il tasto che è stato premuto.

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

Sintassi

public Keys Key { get; set; }
public:
property Keys Key {
    Keys get();
    void set(Keys value);
}
member Key : Keys with get, set
Public Property Key As Keys

Valore proprietà

Type: System.Windows.Forms.Keys

Tasto premuto.

Note

L'impostazione di questa proprietà determina la generazione dell'evento PropertyChanged.

Vedere anche

Keys
PropertyChanged
Classe KeyboardAction
Spazio dei nomi Microsoft.VisualStudio.TestTools.UITest.Common

Torna all'inizio