Show/Hide Toolbars

RiverSoftAVG Products Help

alert_cautionWarning

Deprecated since Delphi XE4. Please use the  RSInterfaceCollections|TIHashTable class instead.

The TIHashtableEnumerator class provides an enumeration of all the values in a InterfaceCollections.TIHashTable object, it implements the CommonInterfaces.IInterfaceIterator interfaces. The TGHashtableEnumerator provides access to all the keys or items stored in the TGCustomHashTable object. The object provides functionality similar to an Enumeration in java.

To use the enumerator is simple, set the Keys property to True (return Keys) or False (return items) and then keep calling the NextElement method until the HasMoreElements method returns False. The enumerator works by giving you the next element until the end of the list, there is no provision for getting the previous element. The enumerator manages its own memory and will free itself when it is completely dereferenced (as long as you use an interface to access it).

noteNote

The enumeration guarantees no ordering in the manner that the next element returns items. It just guarantees all items will be returned eventually, with no item appearing twice.

Namespace: InterfaceCollections

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb