Version

RegisterUserDefinedFunction Method (UltraWebCalcManager)

Registers an individual UltraCalcFunction with the calculation engine.
Syntax
'Declaration
 
Public Function RegisterUserDefinedFunction( _
   ByVal userDefinedFunction As UltraCalcFunction _
) As Boolean
public bool RegisterUserDefinedFunction( 
   UltraCalcFunction userDefinedFunction
)

Parameters

userDefinedFunction
User-defined function instance to register.

Return Value

Returns true if the type was registered successfully, else false if the registration failed.
Remarks

Developers can build custom functions for use within their formula expressions by sub-classing the UltraCalcFunction class.

Once the derived class is instantiated, it must be registered by using this method before it becomes available to formulas.

Developers can build libraries of functions packaged into an assembly, and register all UltraCalcFunction subclasses within that assembly by using the RegisterUserDefinedFunctionLibrary method.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also