System.Data.FunctionNode.FunctionNode C# (CSharp) Method

FunctionNode() private method

private FunctionNode ( DataTable table, string name ) : System.Collections.Generic
table DataTable
name string
return System.Collections.Generic
        internal FunctionNode(DataTable table, string name) : base(table)
        {
            _name = name;
            for (int i = 0; i < s_funcs.Length; i++)
            {
                if (string.Compare(s_funcs[i]._name, name, StringComparison.OrdinalIgnoreCase) == 0)
                {
                    // we found the reserved word..
                    _info = i;
                    break;
                }
            }
            if (_info < 0)
            {
                throw ExprException.UndefinedFunction(_name);
            }
        }