NativeExcel for .Net Developer's Reference

IWorksheets.GetEnumerator Method 

Returns an System.Collections.IEnumerator implemented object that contains all IWorksheet objects within the IWorksheets collection.

[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 all IWorksheet objects within the IWorksheets collection.

See Also

IWorksheets Interface | NativeExcel Namespace