.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

FormulaEngine.Parse(String, ExpressionContext) Method

Parses the specified formula in the specified context.

Namespace: DevExpress.Spreadsheet.Formulas

Assembly: DevExpress.Spreadsheet.v20.2.Core.dll

Declaration

ParsedExpression Parse(
    string formula,
    ExpressionContext context
)

Parameters

Name Type Description
formula String

A string that is the expression to parse. The leading equals "=" symbol is optional.

context ExpressionContext

A ExpressionContext object specifying the context for parsing a formula.

Returns

Type Description
ParsedExpression

A ParsedExpression object providing access to the expression tree.

Remarks

See this FormulaEngine.Parse method overload topic for a use example.

See Also