Interface IExcelRowEnumerator
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
Methods
MoveNext()
Advances the enumerator to the next row, reading synchronously.
bool MoveNext()
Returns
MoveNextAsync()
Advances the enumerator to the next row, reading asynchronously.
ValueTask<bool> MoveNextAsync()