NativeExcel2 for .Net Developer's Reference

IWorksheets.GetEnumeratorMethod

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

[Visual Basic]
FunctionGetEnumerator()AsIEnumerator
[C#]
IEnumeratorGetEnumerator();
[C++]
IEnumerator*GetEnumerator();
[JScript]
functionGetEnumerator():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