Skip to main content

CriteriaOperator.ToString() Method

Converts the current expression into its VB equivalent string.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v24.1.dll

NuGet Package: DevExpress.Data

Declaration

public override string ToString()

Returns

Type Description
String

A string representation of this 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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ToString() 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.

See Also