RecalcEngine.Eval(String, RecordValue, ParserOptions) Method

Definition

Evaluate an expression as text and return the result.

C#
public Microsoft.PowerFx.Types.FormulaValue Eval (string expressionText, Microsoft.PowerFx.Types.RecordValue parameters = default, Microsoft.PowerFx.ParserOptions options = default);

Parameters

expressionText
String

textual representation of the formula.

parameters
RecordValue

parameters for formula. The fields in the parameter record can be acecssed as top-level identifiers in the formula.

options
ParserOptions

Returns

The formula's result.

Applies to

Product Versions
Power Fx SDK Latest