Freigeben über


RecalcEngine.Eval(String, RecordValue, ParserOptions) Method

Definition

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.

Applies to