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

RemoveRange() public method

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

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