Excel.Interfaces.FunctionResultData interface

描述通过调用 "functionResult ()" 返回的数据的接口。An interface describing the data returned by calling "functionResult.toJSON()".

属性

error

表示错误的错误值 (#如 "DIV/0")。Error value (such as "#DIV/0") representing the error. 如果未设置错误字符串, 则函数成功, 并将其结果写入值字段。If the error string is not set, then the function succeeded, and its result is written to the Value field. 该错误始终位于英语区域设置中。The error is always in the English locale.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

value

函数计算的值。The value of function evaluation. 仅当未发生错误 (即, 未设置 Error 属性) 时, 才会填充 "值" 字段。The value field will be populated only if no error has occurred (i.e., the Error property is not set).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

属性详细信息

error

表示错误的错误值 (#如 "DIV/0")。Error value (such as "#DIV/0") representing the error. 如果未设置错误字符串, 则函数成功, 并将其结果写入值字段。If the error string is not set, then the function succeeded, and its result is written to the Value field. 该错误始终位于英语区域设置中。The error is always in the English locale.

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

error?: string;

属性值

string

value

函数计算的值。The value of function evaluation. 仅当未发生错误 (即, 未设置 Error 属性) 时, 才会填充 "值" 字段。The value field will be populated only if no error has occurred (i.e., the Error property is not set).

[API 集: ExcelApi 1.2][ API set: ExcelApi 1.2 ]

value?: T;

属性值

T