nsIEnumerator

Obsolete
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

nsIEnumerator.idl

Warning: This is a broken interface; don't use it unless you have to. The interface commonly used for enumerators is nsISimpleEnumerator.

Sample usage

var iter = --------();
try {
  iter.first();
  do {
    var data = iter.currentItem();
    if( data instanceof Ci.nsI------ ) {
      ...
       ...
    }
    iter.next();
  } while( Components.lastResult == 0 );
} catch(e) {}

Search for e-mail from "Warren Harris" dated 04/21/1999 time 16:11:03 for some notes on the subject.

You may need to use the Google cache, since this version doesn't seem to be working so well.

Document Tags and Contributors

 Contributors to this page: Sheppy, ethertank, jswisher, Nickolay, JesseW
 Last updated by: Sheppy,