UITestControl.WaitForControlReady-Methode

Blockiert den aktuellen Thread, bis für dieses Steuerelement Maus- oder Tastatureingaben vorgenommen werden können oder bis das Standardtimeout abläuft.

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

Syntax

'Declaration
Public Function WaitForControlReady As Boolean
public bool WaitForControlReady()
public:
bool WaitForControlReady()
member WaitForControlReady : unit -> bool 
public function WaitForControlReady() : boolean

Rückgabewert

Typ: System.Boolean
true, wenn dieses Steuerelement bereit ist, Maus- oder Tastatureingaben vor dem Timeout zu empfangen. Andernfalls false.

.NET Framework-Sicherheit

Siehe auch

Referenz

UITestControl Klasse

WaitForControlReady-Überladung

Microsoft.VisualStudio.TestTools.UITesting-Namespace