Represents a logical NOT operation which is performed on the operand.
public sealed class NotOperator :
Public NotInheritable Class NotOperator
This sample code selects customers who are younger than 20 years old, and older than 25.
The image below shows the result:
CriteriaOperator filter = new NotOperator(new BetweenOperator("Age", 20, 25));
xpCustomers.Filter = filter;
Dim filter As CriteriaOperator = New NotOperator(New BetweenOperator("Age", 20, 25))
xpCustomers.Filter = filter