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

RemoveRange() public method

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

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