CriteriaOperator.ParseList(String, Object[]) Method
SECURITY-RELATED CONSIDERATIONS
Parsing criteria strings from untrusted input (such as persisted layouts, user-entered filters, or client requests) may consume excessive system resources. Raise or disable criteria parser limits only after you verify that your application can safely process larger input. Review the following help topic for additional information: Criteria String Parsing and Untrusted Input.
Converts the specified string representation of expressions that are divided by a semicolon into their CriteriaOperator equivalents.
Namespace: DevExpress.Data.Filtering
Assembly: DevExpress.Data.v26.1.dll
NuGet Package: DevExpress.Data
Declaration
public static CriteriaOperator[] ParseList(
string criteriaList,
params object[] parameters
)
Parameters
| Name | Type | Description |
|---|---|---|
| criteriaList | String | A String value that represents the expressions to convert. The expressions are divided by a semicolon. |
| 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[] | An array of CriteriaOperator equivalents to the expressions contained in criteriaList. |