TUserDefinedFunction.TryGetDoubleList Method
Tries to retrieve a list of double arguments from the parameters, starting at parameter startParam. Use this method for functions that accept a range of numeric values as an entry. (for example =Sum(a1:a10))
Syntax
Namespace: FlexCel.Core
public Boolean TryGetDoubleList(ExcelFile Xls, Object[] parameters, Int32 startParam, Int32 endParam, IUserDefinedFunctionAggregator agg, out TFlxFormulaErrorValue Err)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
Xls | ExcelFile | ExcelFile used to read the parameter when it is a cell reference. | |
parameters | Object[] | The parameters passed to the function. | |
startParam | Int32 | First parameter we want to evaluate. | |
endParam | Int32 | Last parameter we want to evaluate. If < 0, it will evaluate all parameters from startParam to parameters.Length | |
agg | IUserDefinedFunctionAggregator | A class descending from TUserDefinedFunctionAggregator that will process the values for every entry in the range. | |
out | Err | TFlxFormulaErrorValue | Value of the error when converting the parameter. If TryGetDouble returns true (there was no error), this value is undefined. |