A logical expression which groups two or more operands with a logical AND or OR.
public sealed class GroupOperator : CriteriaOperator
Public NotInheritable Class GroupOperator Inherits CriteriaOperator
Related API Members
The following members accept/return GroupOperator objects:
This example retrieves the cars that belong in the Saloon category and which cost less than $100,000.
The result is shown in the image below:
xpView1.GroupCriteria = GroupOperator.And(new BinaryOperator("Category", "Saloon"), new BinaryOperator("Price", 100000, BinaryOperatorType.Less));