SpreadsheetGear.CustomFunctions Namespace > Function Class : Evaluate Method |
Evaluates a custom function with the specified arguments.
[Visual Basic]
Public Overridable MustOverride Sub Evaluate( _
ByVal arguments As IArguments, _
ByVal result As IValue _
)
[C#]
public virtual abstract void Evaluate(
IArguments arguments,
IValue result
);
[C++]
public: virtual abstract void Evaluate(
IArguments* arguments,
IValue* result
)
[C++/CLI]
public:
virtual abstract void Evaluate(
IArguments^ arguments,
IValue^ result
)
The implementation of this method must be thread safe, and must not use any API in the workbook set which is being calculated. All access to cells must be through arguments. No references to objects passed to, or acquired during the execution of this method should be used after this method completes execution.
If an exception is thrown during custom function evaluation, the custom function will return ValueError.Name.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Function Class | Function Members
See our live Excel Reporting, Excel Charting, Excel to DataGrid and Excel Calculation Samples.
Copyright © 2003-2007 SpreadsheetGear LLC. All Rights Reserved.
SpreadsheetGear and Spreadsheet Gear are trademarks of SpreadsheetGear LLC.