CellRangeEnumerator Class
Enumerator used for iterating cells in a CellRange.
public sealed class CellRangeEnumerator : IEnumerator<ExcelCell>, IDisposable, IEnumerator
Public NotInheritable Class CellRangeEnumerator
Implements IEnumerator(Of ExcelCell), IDisposable, IEnumerator
- Inheritance:
- System.ObjectCellRangeEnumerator
Implements
System.Collections.Generic.IEnumerator<ExcelCell>
System.IDisposable
System.Collections.IEnumerator
Properties
Current
Gets the current ExcelCell in the cell range.
Property Value
CurrentColumn
Current absolute column index in the cell range.
Property Value
- System.Int32
CurrentRow
Current absolute row index in the cell range.
Property Value
- System.Int32
Parent
Parent CellRange.
Property Value
Methods
Dispose()
Releases all resources used by the CellRangeEnumerator.
MoveNext()
Advances the enumerator to the next element of the cell range.
Returns
- System.Boolean
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the cell range.
Reset()
Sets the enumerator to its initial position, which is one column before the first cell in the cell range.
Implements
System.Collections.Generic.IEnumerator<T>
System.IDisposable
System.Collections.IEnumerator