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

CriteriaOperator.ToString(CriteriaOperator, out OperandValue[]) Method

Converts the specified expression into its equivalent string in VB style.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v19.1.dll

Declaration

public static string ToString(
    CriteriaOperator criteria,
    out OperandValue[] criteriaParametersList
)

Parameters

Name Type Description
criteria CriteriaOperator

A CriteriaOperator object that represents the expression to convert.

criteriaParametersList OperandValue[]

[out] Receives the values that are marked by question mark character in the result string.

Returns

Type Description
String

A string representation of the specified expression.

Remarks

To convert the string representation of an expression into its CriteriaOperator equivalent, use the CriteriaOperator.Parse method.

Note

The ToString method returns a string representation of the criteria which can be displayed in UI or saved in application log. However, this string is actually not SQL and cannot be considered as such.

See Also