Partager via


UITestControl.WaitForControlNotExist, méthode

Bloque le thread actuel jusqu'à ce que ce contrôle n'existe plus dans l'interface utilisateur ou jusqu'à expiration du délai d'attente par défaut.

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

Syntaxe

'Déclaration
Public Function WaitForControlNotExist As Boolean
public bool WaitForControlNotExist()
public:
bool WaitForControlNotExist()
member WaitForControlNotExist : unit -> bool 
public function WaitForControlNotExist() : boolean

Valeur de retour

Type : System.Boolean
true si ce contrôle existe avant le délai d'expiration ; sinon, false.

Sécurité .NET Framework

Voir aussi

Référence

UITestControl Classe

WaitForControlNotExist, surcharge

Microsoft.VisualStudio.TestTools.UITesting, espace de noms

WaitForReadyTimeout