UITestControl.WaitForControlCondition Method (Predicate<UITestControl>)
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assemblies: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Function WaitForControlCondition ( _
conditionEvaluator As Predicate(Of UITestControl) _
) As Boolean
public bool WaitForControlCondition(
Predicate<UITestControl> conditionEvaluator
)
public:
bool WaitForControlCondition(
Predicate<UITestControl^>^ conditionEvaluator
)
member WaitForControlCondition :
conditionEvaluator:Predicate<UITestControl> -> bool
public function WaitForControlCondition(
conditionEvaluator : Predicate<UITestControl>
) : boolean
Parameters
- conditionEvaluator
Type: Predicate<UITestControl>
Return Value
Type: Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.