FunctionInfo.paramCount Property

Gets and sets the number of parameters this function requires.

public int paramCount { get; }

Remarks

If this is set to -1, the function will accept any number of parameters.