ZForge.Controls.XPTable.Models.ColumnCollection.AddRange C# (CSharp) Method

AddRange() public method

Adds an array of Column objects to the collection
public AddRange ( Column columns ) : void
columns Column An array of Column objects to add /// to the collection
return void
        public void AddRange(Column[] columns)
        {
            if (columns == null)
            {
                throw new System.ArgumentNullException("Column[] is null");
            }

            for (int i=0; i<columns.Length; i++)
            {
                this.Add(columns[i]);
            }
        }