XPBaseObject.Evaluate(CriteriaOperator) Method
Evaluates the specified expression against the current instance of the persistent object.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v21.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
expression | CriteriaOperator | A CriteriaOperator object that specifies the expression to evaluate. |
Returns
Type | Description |
---|---|
Object | The evaluated value. |
Remarks
This method allows you to evaluate a specific expression against the current instance of the persistent object. The expression is specified by a CriteriaOperator object. By using another overload of the Evaluate method an expression can be specified as a string.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Evaluate(CriteriaOperator) method.
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.