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 the type of the following properties:

nsIAbDirectory.childCards

This interface is returned from the following methods:

nsIAddrDatabase.enumerateCards, nsIAddrDatabase.enumerateListAddresses, nsICollection.Enumerate, nsIComponentManagerObsolete.enumerateCLSIDs, nsIComponentManagerObsolete.enumerateContractIDs, nsIInterfaceInfoManager.enumerateInterfaces, nsIInterfaceInfoManager.enumerateInterfacesWhoseNamesStartWith, nsIMsgFolder.GetSubFolders, nsIPK11TokenDB.listTokens, nsIPKCS11Module.listSlots, nsIPKCS11ModuleDB.listModules, nsIRegistry.enumerateAllSubtrees, nsIRegistry.enumerateSubtrees, nsIRegistry.enumerateValues, nsISelectionPrivate.getEnumerator

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com