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