Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

IWorkbook.Evaluate(String, FormulaEvaluationContext) Method

Evaluates the specified formula in a certain context.

Namespace: DevExpress.Spreadsheet

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

Declaration

ParameterValue Evaluate(
    string formula,
    FormulaEvaluationContext context
)

Parameters

Name Type Description
formula String

A string that represents the formula to be evaluated.

context FormulaEvaluationContext

A FormulaEvaluationContext object containing information on the row, column and the current culture settings.

Returns

Type Description
ParameterValue

A ParameterValue object that is the calculation result and may contain a value, a reference or a calculation error.

See Also