Returns True if there are more elements to retrieve from the enumeration. While this method returns true, the CommonInterfaces.IStringIterator.NextElement method should not raise an exception.
Namespace: InterfaceCollections
Delphi |
public |
Return Value
Type: Boolean
IStringIterator.HasMoreElements
IIterator.HasMoreElements
IObjectIterator.HasMoreElements
The following code gives a sample implementation from the TStringsIterator object, List is the TStrings that is supplying the underlying elements and Index is a hidden index for the enumeration: Delphi |
begin |