Microsoft®
JScript Enumerator Object |
Language Reference Version 3
|
Provides a way to enumerate items in a collection. Note: This is ONLY available in JScript (not in Javascript). See Copy or Enumerate an Object in JavaScript
new Enumerator(collection)The collection argument is any collection object.
Collections differ from arrays in that the members of a collection are not directly accessible. Instead of using indices, as you would with arrays, you can only move the current item pointer to the first or next element of a collection.The Enumerator object provides a way to access any member of a collection and behaves similarly to the For...Each statement in VBScript.
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/inet/iis/jscript/htm/js560.htm, 2KB, , updated: 2019/12/26 10:52, local time: 2024/11/23 00:02,
18.116.86.132:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/techref/inet/iis/jscript/htm/js560.htm"> Enumerator Object</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.