Partager via


UITestAction.UIElement, propriété

Obtient ou définit l'élément d'interface utilisateur sur lequel cette action fonctionne.

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 UIElement As UITechnologyElement
    Get
    Set
public UITechnologyElement UIElement { get; set; }
public:
property UITechnologyElement^ UIElement {
    UITechnologyElement^ get ();
    void set (UITechnologyElement^ value);
}
member UIElement : UITechnologyElement with get, set
function get UIElement () : UITechnologyElement
function set UIElement (value : UITechnologyElement)

Valeur de propriété

Type : Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement
Élément d'interface utilisateur associé, ou nullune référence null (Nothing en Visual Basic) pendant un enregistrement de bas niveau dans lequel aucune reconnaissance d'objet ne se produit.

Notes

Déclenche l'événement PropertyChanged lorsque la valeur est définie.

Sécurité .NET Framework

Voir aussi

Référence

UITestAction Classe

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

PropertyChanged