Returns True if there are more elements to retrieve from the enumeration. While this method returns true, the NextElement/ NextElementO/ NextElementP methods will not raise an exception.
This method is part of the CommonInterfaces.IIterator, CommonInterfaces.IObjectIterator , and CommonInterfaces.IStringIterator interfaces.
Namespace: RSInterfaceCollections
Delphi |
public |
Return Value
Type: Boolean
IStringIterator.HasMoreElements
IIterator.HasMoreElements
IObjectIterator.HasMoreElements
The following code shows how to use the iterator to get all the strings and only display the strings that have "hello" in a TStrings object:
|