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:
- CellRangeEnumerator
Properties
Current
Gets the current ExcelCell in the cell range.
Property Value
CurrentColumn
Current absolute column index in the cell range.
Property Value
CurrentRow
Current absolute row index in the cell range.
Property Value
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
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.