Partager via


KeyboardAction.Key, propriété

Obtient ou définit la touche enfoncée.

Espace de noms :  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly :  Microsoft.VisualStudio.TestTools.UITest.Common (dans Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntaxe

'Déclaration
Public Property Key As Keys
    Get
    Set
public Keys Key { get; set; }
public:
property Keys Key {
    Keys get ();
    void set (Keys value);
}
member Key : Keys with get, set
function get Key () : Keys
function set Key (value : Keys)

Valeur de propriété

Type : System.Windows.Forms.Keys
Touche qui a été enfoncée.

Notes

La définition de cette propriété déclenche l'événement PropertyChanged.

Sécurité .NET Framework

Voir aussi

Référence

KeyboardAction Classe

Microsoft.VisualStudio.TestTools.UITest.Common, espace de noms

Keys

PropertyChanged