InOperator Class
An operator which determines if a value matches any value in a specified list.
Namespace: DevExpress.Data.Filtering
Assembly: DevExpress.Data.v21.2.dll
NuGet Packages: DevExpress.Data, DevExpress.Win.Design
Declaration
Related API Members
The following members return InOperator objects:
Remarks
The InOperator builds criteria expressions. To learn more, see Creating Criteria and Criteria Operators.
In this example, the XPCollection is filtered to display persons whose names are specified in the list.
The image below shows the result:
Note
You cannot apply InOperator to collection properties. To check if a collection contains at least one object matching a specific criterion, use the ContainsOperator instead.
Inheritance
Object
CriteriaOperator
InOperator
See Also