IOrderedDictionary<TKey,TValue>.IndexOf Method
Definition
Determines the index of a specific element in the dictionary.
Delphi
function IndexOf(const key: TKey): Integer
Parameters
- key
- TKey
The key of the element to locate in the dictionary.
Returns
Integer
The index of the element with the specified key if found in the dictionary; otherwise, -1.