Class XlsbWorkbook.Enumerator
Forward-only enumerator over an XlsbWorkbook sheet's rows.
[SuppressMessage("Design", "CA1034:Nested types should not be visible", Justification = "Public nested enumerator is the standard foreach pattern.")]
public sealed class XlsbWorkbook.Enumerator : PooledStreamRowEnumerator, IExcelRowEnumerator, IDisposable, IAsyncDisposable
- Inheritance
-
PooledStreamRowEnumeratorXlsbWorkbook.Enumerator
- Implements
- Inherited Members
Remarks
Streams the underlying binary sheetN.bin entry through a refillable pooled buffer;
Biff12RecordReader framing guarantees that a partial record at the buffer boundary
is detected and retried after the next fill.
Properties
Current
Gets the row at the enumerator's current position. Only valid after a call to MoveNext() or MoveNextAsync() has returned true.
public Row Current { get; }
Property Value
Methods
MoveNext()
Advances the enumerator to the next row, reading synchronously.
public bool MoveNext()
Returns
MoveNextAsync()
Advances the enumerator to the next row, reading asynchronously.
public ValueTask<bool> MoveNextAsync()