本文档基于 CC协议(Creative Commons Share-Alike License)发布,是developer.mozilla.com, www.mozref.comwww.aptana.com共同劳动的成果。

Enumerator : Object

Enumerator is a proprietary Microsoft object that iterates over items in a group.

Browser/User Agent Support

IEMozillaNetscapeOperaSafari
4.0+nononono

Constructors

ConstructorIEMozillaNetscapeOperaSafari
Creates a new instance of an Enumerator object.
4.0+nononono
 

Methods

MethodIEMozillaNetscapeOperaSafari
Returns true if the current item is the last one in the group.
4.0+nononono
 
Returns the current item in the group.
4.0+nononono
 
Moves the current item to the first position in the group.
4.0+nononono
 
Moves the current item to the next position in the group.
4.0+nononono
 

Remarks

IE only. Supported in IE4+.

Availability

JScript 3.0

Constructor Detail

 Enumerator Enumerator(Object group)

Creates a new instance of an Enumerator object.

ObjectgroupGroup of items to be iterated over.

Method Detail

atEnd() :  Boolean

Returns true if the current item is the last one in the group.

Remarks
IE only. Supported in IE4+.
Availability

JScript 3.0

item() :  Object

Returns the current item in the group.

Remarks
IE only. Supported in IE4+.
Availability

JScript 3.0

moveFirst() :  Object

Moves the current item to the first position in the group.

Remarks
IE only. Supported in IE4+.
Availability

JScript 3.0

moveNext() :  Object

Moves the current item to the next position in the group.

Remarks
IE only. Supported in IE4+.
Availability

JScript 3.0