Table of Contents

Interface IExcelRowEnumerator

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

A forward-only cursor over a sheet's rows, implemented by every concrete format's row enumerator and driven either synchronously (MoveNext()) or asynchronously (MoveNextAsync()).

public interface IExcelRowEnumerator : IDisposable, IAsyncDisposable
Inherited Members

Remarks

Only ExcelReader implements this interface, and a minor version can add members to it. See versioning and compatibility.

Properties

Current

Gets the row at the enumerator's current position. Only valid after a call to MoveNext() or MoveNextAsync() has returned true.

Row Current { get; }

Property Value

Row

Methods

MoveNext()

Advances the enumerator to the next row, reading synchronously.

bool MoveNext()

Returns

bool

true if a row was read; false if the sheet is exhausted.

MoveNextAsync()

Advances the enumerator to the next row, reading asynchronously.

ValueTask<bool> MoveNextAsync()

Returns

ValueTask<bool>

true if a row was read; false if the sheet is exhausted.