AndCondition Constructor
Collapse the table of content
Expand the table of content

AndCondition Constructor (Condition[])


Creates a PropertyCondition that is true if all the subconditions are true.

Namespace:   System.Windows.Automation
Assembly:  UIAutomationClient (in UIAutomationClient.dll)

public AndCondition(
	params Condition[] conditions


Type: System.Windows.Automation.Condition[]

Two or more subconditions.

The following example shows how to use AndCondition to find UI Automation elements that match a complex condition.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft