property current

(r/o) value current;

Typ

Zugriff

This property returns the current element in the enumeration.

When an enumerator is newly created, this property is not yet set. Call the moveNext method to set this property to the first element. When the iteration is complete, this property will no longer be set. To start the iteration over, call the reset method to reset the enumerator, and then the moveNext method to set this property to the first element.

The value of this property will not change, even if the contents of the collection changes.