Back to Devexpress

FunctionWrapper.Evaluate(IList<ParameterValue>, EvaluationContext) Method

officefileapi-devexpress-dot-spreadsheet-dot-functions-dot-functionwrapper-dot-evaluate-x28-ilist-parametervalue-evaluationcontext-x29.md

latest2.7 KB
Original Source

FunctionWrapper.Evaluate(IList<ParameterValue>, EvaluationContext) Method

Override this method to calculate the function as needed.

Namespace : DevExpress.Spreadsheet.Functions

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public virtual ParameterValue Evaluate(
    IList<ParameterValue> parameters,
    EvaluationContext context
)
vb
Public Overridable Function Evaluate(
    parameters As IList(Of ParameterValue),
    context As EvaluationContext
) As ParameterValue

Parameters

NameTypeDescription
parametersIList<ParameterValue>

A IList<T><ParameterValue,> object containing parameters passed to the function.

| | context | EvaluationContext |

An EvaluationContext object containing information on the cell and worksheet in which the function is being calculated.

|

Returns

TypeDescription
ParameterValue

A ParameterValue object that is the calculated value.

|

Remarks

Make sure that the method returns the ParameterValue

Implements

Evaluate(IList<ParameterValue>, EvaluationContext)

See Also

FunctionWrapper Class

FunctionWrapper Members

DevExpress.Spreadsheet.Functions Namespace