Version

RegisterUserDefinedFunction Method

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

Users can build custom functions used in formulas by sub-classing the Infragistics.Win.CalcEngine.UltraCalcFunction class. Once the derived class is instaniated it must be registered by using the AddFunction method before being avilable and referenced by a formulas. Users can build a library of functions packaged in an assembly and register all the functions within the assembly by using the AddFunctionLibrary method.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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