API:System.Generics.Collections.TDictionary.TKeyEnumerator.DoGetCurrent
Delphi
function DoGetCurrent: K; override;
C++
virtual K __fastcall DoGetCurrent();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | System.Generics.Collections.pas System.Generics.Collections.hpp |
System.Generics.Collections | TKeyEnumerator |
Description
Returns the currently focused element in the container.
System.Generics.Collections.TDictionary.TKeyEnumerator.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.