IEnumerator<T>.GetCurrent Method

Definition

Gets the value at the current position of the enumerator.

Delphi
function GetCurrent: T;

Returns

T

The value at the current position of the enumerator.

Exceptions

The enumerator is positioned before the first value or after the last value.