Sdílet prostřednictvím


UITestControl.WaitForControlCondition Method

Definition

Overloads

WaitForControlCondition(Predicate<UITestControl>, Int32)
WaitForControlCondition(Predicate<UITestControl>)

WaitForControlCondition(Predicate<UITestControl>, Int32)

public:
 bool WaitForControlCondition(Predicate<Microsoft::VisualStudio::TestTools::UITesting::UITestControl ^> ^ conditionEvaluator, int millisecondsTimeout);
public bool WaitForControlCondition (Predicate<Microsoft.VisualStudio.TestTools.UITesting.UITestControl> conditionEvaluator, int millisecondsTimeout);
member this.WaitForControlCondition : Predicate<Microsoft.VisualStudio.TestTools.UITesting.UITestControl> * int -> bool
Public Function WaitForControlCondition (conditionEvaluator As Predicate(Of UITestControl), millisecondsTimeout As Integer) As Boolean

Parameters

conditionEvaluator
Predicate<UITestControl>
millisecondsTimeout
Int32

Returns

Applies to

WaitForControlCondition(Predicate<UITestControl>)

public:
 bool WaitForControlCondition(Predicate<Microsoft::VisualStudio::TestTools::UITesting::UITestControl ^> ^ conditionEvaluator);
public bool WaitForControlCondition (Predicate<Microsoft.VisualStudio.TestTools.UITesting.UITestControl> conditionEvaluator);
member this.WaitForControlCondition : Predicate<Microsoft.VisualStudio.TestTools.UITesting.UITestControl> -> bool
Public Function WaitForControlCondition (conditionEvaluator As Predicate(Of UITestControl)) As Boolean

Parameters

conditionEvaluator
Predicate<UITestControl>

Returns

Applies to