SpreadsheetGear The Performance Spreadsheet Component Company 
Evaluate Method
See Also 
SpreadsheetGear.CustomFunctions Namespace > Function Class : Evaluate Method
arguments
Provides access to the arguments to the custom function.
result
Assign the result of the custom function to result.
Evaluates a custom function with the specified arguments.

Syntax

C# 
public virtual abstract void Evaluate( 
   IArguments arguments,
   IValue result
)

Parameters

arguments
Provides access to the arguments to the custom function.
result
Assign the result of the custom function to result.

Remarks

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.

Requirements

Platforms: Windows 98, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family. SpreadsheetGear for .NET 1.x requires the Microsoft .NET Framework 1.1 or .NET 2.0. SpreadsheetGear for .NET 2006 requires the Microsoft .NET Framework 2.0.

See Also