.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

FormulaEngine.Parse(String, ExpressionContext) Method

Parses the specified formula in the specified context.

Namespace: DevExpress.Spreadsheet.Formulas

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

Declaration

ParsedExpression Parse(
    string formula,
    ExpressionContext context
)
Function Parse(
    formula As String,
    context As ExpressionContext
) As ParsedExpression
ParsedExpression Parse(
    string formula,
    ExpressionContext context
)
Function Parse(
    formula As String,
    context As ExpressionContext
) As ParsedExpression
ParsedExpression Parse(
    string formula,
    ExpressionContext context
)
Function Parse(
    formula As String,
    context As ExpressionContext
) As ParsedExpression

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.

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.

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.

Returns

Type Description
ParsedExpression

A ParsedExpression object providing access to the expression tree.

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