[This is preliminary documentation and is subject to change.]
A group of query conditions.
| C# | Visual Basic | Visual C++ |
public class ConditionGroup
Public Class ConditionGroup
public ref class ConditionGroup
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| ConditionGroupConditionGroupNew(GroupOperator) | Constructs a ConditionGroup | |
| AddCondition(Condition) | Adds a Condition to this group | |
| AddCondition(IElementDef, ComparisonOperators, String) | Adds a condition to this group | |
| AddGroup(ConditionGroup) | Adds a nested ConditionGroup to this group | |
| Conditions | Gets the conditions in this group. If the group consists of only nested
ConditionGroups, an empty array is returned; use the getConditionGroups
method to retrieve the nested groups.
| |
| Groups | Gets the nested ConditionGroups in this group. If the group does not
contain any nested ConditionGroups and is comprised of only Condition
elements, an empty array is returned
| |
| HasCondition(IElementDef) | Tests if this ConditionGroup has a Condition for a specific element or
attribute. Nested ConditionGroups are not included in the search.
| |
| HasConditions()() | Determines if there are any conditions in this group, including any
nested ConditionGroups
| |
| Operator | Gets the Boolean operator for joining all conditions in this group | |
| Size()() | Gets the number of conditions in this group.
|
A ConditionGroup is a container for Condition objects that are evaluated
together as a group using the Boolean operator passed to the constructor.
ConditionGroups may be nested such that each ConditionGroup is evaluated
using the Boolean operator passed to the constructor.
| Object | |
| ConditionGroup | |