'Usage Dim instance As CellCollection Dim index As Integer instance.RemoveItem(index)
Parameters
- index
- The zero-based index of the cell to remove.
'Usage Dim instance As CellCollection Dim index As Integer instance.RemoveItem(index)
Exception | Description |
---|---|
InvalidOperationException | An attempt was made to remove a cell when the row is contained by a DataGridControl. |
ArgumentOutOfRangeException | index is less than zero or equal to or greater than count. |
Target Platforms: Windows 11, Windows 10, 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