GrapeCity.Win.MultiRow Namespace > CellCollection Class > Remove Method : Remove(Int32,Int32) Method |
<TakeCellFreezeAttribute()> Public Overloads Sub Remove( _ ByVal index As Integer, _ ByVal count As Integer _ )
Dim instance As CellCollection Dim index As Integer Dim count As Integer instance.Remove(index, count)
Exception | Description |
---|---|
System.InvalidOperationException | The method is executed at run time. |
System.NotSupportedException | The CellCollection is read-only. |
System.ArgumentOutOfRangeException | The index is less than zero or greater than the number of Cells in the collection minus 1. -or- The index and count do not denote a valid range of Cells. -or- The index is less than 1 or greater than the number of Cells in the collection. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2