RAD Studio VCL Reference
|
IEnumerator is the generic interface for container enumerators.
IEnumerator<T> = interface(IEnumerator);
template <T> __interface IEnumerator : public IEnumerator;
Implement the IEnumerator interface in the class that has to act as an enumerator for a container. An IEnumerator is usually obtained by a call to the container's GetEnumerator method.
Classes that implement the IEnumerator interface are considered enumerators in Delphi language and are used automatically by the for..in statement.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|