RangeGetEnumerator Method

Gets the enumerator for cells in this Range.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.2.0.0 (20.2)
Syntax
public IEnumerator GetEnumerator()

Return Value

Type: IEnumerator
The cells enumerator
Remarks
When traversing elements by the returned Enumerator, the cells collection should not be modified(such as operations that will cause new Cell/Row be instantiated or existing Cell/Row be deleted). Otherwise the enumerator may not be able to traverse all cells correctly(some elements may be traversed repeatedly or skipped).
See Also