ExcelRow Class
Definition
Represents a single populated row of a worksheet: its zero-based index and the populated cells it contains, in ascending column order.
public sealed class ExcelRow
- Inheritance
-
ExcelRow
- Inherited Members
- Extension Methods
Remarks
A row exposes only its populated cells; absent cells are omitted, so the row is a sparse sequence. Rows with no populated cell are not materialized.
Properties
Cells
Gets the populated cells of the row, in ascending column order.
public IReadOnlyList<ExcelCell> Cells { get; }
Property Value
- IReadOnlyList<ExcelCell>
A read-only list of the row's populated cells.
RowIndex
Gets the zero-based row index.
public int RowIndex { get; }
Property Value
- int
The row index within the worksheet.
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |