A newer version of this page is available.
Switch to the current version.
CriteriaOperator.TryParse(String, Object[]) Method
Tries to convert the specified string representation of an expression to its CriteriaOperator equivalent.
Namespace: DevExpress.Data.Filtering
Assembly: DevExpress.Data.v19.2.dll
Declaration
public static CriteriaOperator TryParse(
string criteria,
params object[] parameters
)
Public Shared Function TryParse(
criteria As String,
ParamArray parameters As Object()
) As CriteriaOperator
Parameters
Name | Type | Description |
---|---|---|
criteria | String | A String value that represents the expression to convert. |
parameters | Object[] | The values that are substituted into the expression in place of question mark characters. These parameters can be omitted. |
Returns
Type | Description |
---|---|
CriteriaOperator | A CriteriaOperator equivalent to the expression contained in criteria. |
Remarks
If an exception was raised while trying to convert the specified string, the TryParse method returns null (Nothing in VB).
See Also
Feedback