[]
Gets a reference to a cell at the specified coordinates or null if the cell doesn't exist.
public XLCell GetCell(int rowIndex, int colIndex)
Type | Name | Description |
---|---|---|
int | rowIndex | Index of the row. |
int | colIndex | Index of the column. |
Type | Description |
---|---|
XLCell | A reference to the XLCell object at the specified coordinates, or null if there is no cell at the specified position. |
To populate new sheets, use the Sheets indexer instead.
The indexer will automatically create new rows, columns, and cells as needed, and will never return null.