RecalcEngine.Eval(String, RecordValue, ParserOptions) Method
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.
C#
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
- 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
The formula's result.
Product | Versions |
---|---|
Power Fx SDK | Latest |