IEnumerator<T> Interface

Definition

Supports a simple iteration over a generic collection.

Delphi
type IEnumerator<T> = interface(IInterface)

Type Parameters

T

The type of elements to enumerate.

Inheritance
IInterface
IEnumerator<T>
Derived
TFileEnumerator
TFileListEnumerator

Properties

Current

Gets the element in the collection at the current position of the enumerator.

Methods

GetCurrent
MoveNext

Advances the enumerator to the next element of the collection.