'Declaration Public Function RegisterUserDefinedFunction( _ ByVal userDefinedFunction As UltraCalcFunction _ ) As Boolean
public bool RegisterUserDefinedFunction( UltraCalcFunction userDefinedFunction )
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.
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