Enumerator() (Constructor)

A constructor function for creating new Enumerator objects.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Enumerator object
JavaScript syntax:IEnew Enumerator()
IEnew Enumerator(aCollection)
Argument list:aCollectionA collection of objects to be enumerated

This is the constructor function for creating new enumerator objects. Use it with the new operator to manufacture an Enumerator and then store the reference to it in a variable.