Expression Editor for WinForms
AddFunction メソッド (ExpressionEditorCollection)

C1.Win.ExpressionEditor.4.5.2 アセンブリ > C1.Win.ExpressionEditor 名前空間 > ExpressionEditorCollection クラス : AddFunction メソッド
Provides the function description for the C1ExpressionEditorPanel.
The delegate that evaluates the function.
Minimum arguments count.
Maximum arguments count.
Added a custom function to engine of C1ExpressionEditor.
シンタックス
'宣言
 
Public Sub AddFunction( _
   ByVal items As System.Collections.Generic.List(Of ExpressionItem), _
   ByVal function As System.Func(Of List(Of Object),Object), _
   ByVal minArgsCount As System.Integer, _
   ByVal maxArgsCount As System.Integer _
) 
public void AddFunction( 
   System.Collections.Generic.List<ExpressionItem> items,
   System.Func<List<object>,object> function,
   System.int minArgsCount,
   System.int maxArgsCount
)

パラメータ

items
Provides the function description for the C1ExpressionEditorPanel.
function
The delegate that evaluates the function.
minArgsCount
Minimum arguments count.
maxArgsCount
Maximum arguments count.
参照

ExpressionEditorCollection クラス
ExpressionEditorCollection メンバ