Table of Contents

Struct Row

Namespace
ExcelReader.Core.Reader
Assembly
ExcelReader.Core.dll

A single worksheet row, exposed as a zero-allocation view over the reader's underlying buffers. Only valid for the lifetime of the enumeration that produced it — do not store it past that point.

public readonly ref struct Row
Inherited Members

Properties

Cells

Enumerates only the populated cells in this row, in ascending column order.

public RowCellEnumerator Cells { get; }

Property Value

RowCellEnumerator

ColumnCount

One past the highest populated column index, so callers can iterate 0..ColumnCount.

public int ColumnCount { get; }

Property Value

int

this[int]

Gets the cell at the given column index, or an empty cell if the column has no value.

public Cell this[int column] { get; }

Parameters

column int

Property Value

Cell