A newer version of this page is available. Switch to the current version.

CriteriaOperator.ToBasicStyleString(CriteriaOperator) Method

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

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v19.2.dll


public static string ToBasicStyleString(
    CriteriaOperator criteria
Public Shared Function ToBasicStyleString(
    criteria As CriteriaOperator
) As String


Name Type Description
criteria CriteriaOperator

A CriteriaOperator object that represents the expression to convert.


Type Description

A string representation of the specified expression.


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


The ToBasicStyleString 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