##  update_custom_function_definition(self, definition) {#aspose.cells.CustomFunctionDefinition}
更新自定义函数的定义。



```python

def update_custom_function_definition(self, definition):
    ...
```


|范围|类型|描述|
| :- | :- | :- |
| definition | [`CustomFunctionDefinition`](/cells/python-net/zh/aspose.cells/customfunctiondefinition) |针对用户的特殊需求，专门定义自定义函数。|
### 注意事项

此方法可用于一些特殊场景。例如，如果用户需要一些参数
一些自定义函数以数组模式计算，然后用户可以提供自己的定义和实现
[`CustomFunctionDefinition.get_array_mode_parameters`](/cells/python-net/zh/aspose.cells/customfunctiondefinition/get_array_mode_parameters) 用于这些功能。
配方数据更新后，指定的参数将自动以数组方式计算
在计算相应的自定义函数时。


### 也可以看看
* 模块[`aspose.cells`](../../)
* 类 [`Workbook`](/cells/python-net/zh/aspose.cells/workbook)
