System.Generics.Collections.TEnumerator.DoGetCurrent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DoGetCurrent: T; virtual; abstract;

C++

virtual T __fastcall DoGetCurrent() = 0 ;

Properties

Type Visibility Source Unit Parent
function protected
System.Generics.Collections.pas
System.Generics.Collections.hpp
System.Generics.Collections TEnumerator

Description

Returns the currently focused element in the container.

Implement DoGetCurrent to return the currently focused element in the container. DoGetCurrent is the reader method for the Current property.

DoGetCurrent is used together with DoMoveNext, giving the particular order in which the container is enumerated.

See Also