RecalcEngine.Eval(String, RecordValue, ParserOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Evaluate an expression as text and return the result.
public Microsoft.PowerFx.Types.FormulaValue Eval(string expressionText, Microsoft.PowerFx.Types.RecordValue parameters = default, Microsoft.PowerFx.ParserOptions options = default);
member this.Eval : string * Microsoft.PowerFx.Types.RecordValue * Microsoft.PowerFx.ParserOptions -> Microsoft.PowerFx.Types.FormulaValue
Public Function Eval (expressionText As String, Optional parameters As RecordValue = Nothing, Optional options As ParserOptions = Nothing) As FormulaValue
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.