C1.CalcEngine Namespace / C1CalcEngine Class / AddFunction Method
Provides the function description.
The delegate that evaluates the function.
Minimum arguments count.
Maximum arguments count.

In This Topic
AddFunction Method (C1CalcEngine)
In This Topic
Adds a custom function.
Syntax
'Declaration
 
Public Sub AddFunction( _
   ByVal items As List(Of ExpressionItem), _
   ByVal function As Func(Of List(Of Object),Object), _
   ByVal minArgsCount As Integer, _
   ByVal maxArgsCount As Integer _
) 
 

Parameters

items
Provides the function description.
function
The delegate that evaluates the function.
minArgsCount
Minimum arguments count.
maxArgsCount
Maximum arguments count.
See Also