NativeExcel for .Net Developer's Reference

IRange.GetEnumerator Method 

Returns an System.Collections.IEnumerator implemented object that contains all cells within the range.

[Visual Basic]
Function GetEnumerator() As IEnumerator
[C#]
IEnumerator GetEnumerator();
[C++]
IEnumerator* GetEnumerator();
[JScript]
function GetEnumerator(): IEnumerator;

Return Value

A System.Collections.IEnumerator implemented object that contains all cells within the range.

See Also

IRange Interface | NativeExcel Namespace