Skip to main content

FormulaEngine.Parse(String, ExpressionContext) Method

Parses the specified formula in the specified context.

Namespace: DevExpress.Spreadsheet.Formulas

Assembly: DevExpress.Spreadsheet.v24.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

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