Enumerator.atEnd() (Method)

A method that returns a flag indicating the end of the collection.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Boolean primitive
JavaScript syntax:IEmyEnumerator.AtEnd()

In your enumeration loop, you can test this method and exit the loop if it returns the Boolean true value.