The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

XPBaseObject.Evaluate(CriteriaOperator) Method

Evaluates the specified expression against the current instance of the persistent object.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.1.dll

Declaration

public object Evaluate(CriteriaOperator expression)
Public Function Evaluate(expression As CriteriaOperator) As Object
public object Evaluate(CriteriaOperator expression)
Public Function Evaluate(expression As CriteriaOperator) As Object

Parameters

Name Type Description
expression CriteriaOperator

A CriteriaOperator object that specifies the expression to evaluate.

Parameters

Name Type Description
expression CriteriaOperator

A CriteriaOperator object that specifies the expression to evaluate.

Returns

Type Description
Object

The evaluated value.

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.

See Also