ImageEn, unit hyieutils

TIEDictionary.GetNext

TIEDictionary.GetNext


Declaration


function GetNext(current: TIEStrStrEnumerator): boolean;



Description


Allows to iterate among all dictionary elements.
Returns true if an element is available.

Parameter Description
current An object used to store current enumerator state.




Example


var current: TIEStrStrEnumerator;
current := TIEStrStrEnumerator.Create();
while dict.GetNext(current) do
begin
  key := current.item.key;
  value := current.item.value;
       ...
end;
current.Free();