Skip to main content
A newer version of this page is available. .

UnaryOperator Class

An unary operator which performs an operation on only one expression.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v18.2.dll

Declaration

public class UnaryOperator :
    CriteriaOperator

The following members return UnaryOperator objects:

Library Related API Members
Cross-Platform Class Library CriteriaOperator.IsNotNull()
CriteriaOperator.IsNull()
CriteriaOperator.Not()
UnaryOperator.Clone()
Windows 10 App Controls CriteriaOperator.IsNotNull()
CriteriaOperator.IsNull()
CriteriaOperator.Not()

Remarks

To create an unary operator, create a new instance of the UnaryOperator class with the specified settings. The UnaryOperator.OperatorType property specifies the type of the unary operator.

For more information on building criteria, see Creating Criteria.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the UnaryOperator class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also