TOrderedDictionary<K, V>.IndexOfKey Method
Returns the zero-based index of the specified key, or -1 if not found.
Syntax
Unit: Bcl.Collections
function TOrderedDictionary<K, V>.IndexOfKey(const key: K): Integer;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | key | K | The key to locate. |
Returns
The zero-based index of the key, or -1 if the key is not present.