WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIEnumerator

IID:ad385286-cbc4-11d2-8cca-0060b0fc14a3
Inherits From:nsISupports

Methods

nsISupports currentItem ( ) void first ( ) void isDone ( ) void next ( )

nsISupports currentItem ( )

CurrentItem will return the CurrentItem item it will fail if the list is empty


void first ( )

First will reset the list. will return NS_FAILED if no items


void isDone ( )

Return if the collection is at the end. that is the beginning following a call to Prev and it is the end of the list following a call to next


void next ( )

Next will advance the list. will return failed if already at end


References

This interface is returned from the following methods:

nsICollection.Enumerate, nsIComponentManagerObsolete.enumerateCLSIDs, nsIComponentManagerObsolete.enumerateContractIDs, nsIInterfaceInfoManager.enumerateInterfaces, nsIInterfaceInfoManager.enumerateInterfacesWhoseNamesStartWith, nsIMsgFolder.GetSubFolders, nsIPK11TokenDB.listTokens, nsIPKCS11Module.listSlots, nsIPKCS11ModuleDB.listModules, nsISelectionPrivate.getEnumerator

Reference documentation is generated from Mozilla's source.