Data.Bind.Components.TCollectionEnumerator.DoGetCurrent

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.Bind.Components.pas
Data.Bind.Components.hpp
Unit: Data.Bind.Components
Parent: TCollectionEnumerator

Delphi

function DoGetCurrent: T; override;

C++

virtual T __fastcall DoGetCurrent();

Description

Returns the currently focused element in the container.

Data.Bind.Components.TCollectionEnumerator.DoGetCurrent inherits from System.Generics.Collections.TEnumerator.DoGetCurrent. All content below this line refers to System.Generics.Collections.TEnumerator.DoGetCurrent.

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