'Usage Dim instance As CellCollection Dim index As Integer Dim item As Cell instance.SetItem(index, item)
Parameters
- index
- The zero-based index of the cell to replace.
- item
- The new cell that will replace the existing cell at the specified index.
'Usage Dim instance As CellCollection Dim index As Integer Dim item As Cell instance.SetItem(index, item)
Exception | Description |
---|---|
InvalidOperationException | An attempt was made to replace a cell when the row is contained by a DataGridControl. |
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