Compartilhar via


Método UITestControl.WaitForControlNotExist

Bloqueia o segmento atual até que esse controle não existe mais na interface do usuário ou o tempo limite padrão expira.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (em Microsoft.VisualStudio.TestTools.UITesting.dll)

Sintaxe

'Declaração
Public Function WaitForControlNotExist As Boolean
public bool WaitForControlNotExist()
public:
bool WaitForControlNotExist()
member WaitForControlNotExist : unit -> bool 
public function WaitForControlNotExist() : boolean

Valor de retorno

Tipo: System.Boolean
true Se este controle existe antes do tempo limite; Caso contrário, false.

Segurança do .NET Framework

Consulte também

Referência

UITestControl Classe

Sobrecargas WaitForControlNotExist

Namespace Microsoft.VisualStudio.TestTools.UITesting

WaitForReadyTimeout