Version

RegisterUserDefinedFunction(CalculationFunction) Method

Syntax
'Declaration
 
Public Overloads Function RegisterUserDefinedFunction( _
   ByVal userDefinedFunction As CalculationFunction _
) As Boolean
public bool RegisterUserDefinedFunction( 
   CalculationFunction 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.Calculations.Engine.CalculationFunction 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 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