TBidiDictionary<TKey,TValue>.GetKeyOrDefault(TValue,TKey) Method
Gets the key for a given value if a matching value exists in the
dictionary; returns the given default value for TKey
otherwise.
public function GetKeyOrDefault(const value: TValue; const defaultValue: TKey): TKey; overload;
Parameters
- value
- Type: TValue
- defaultValue
- Type: TKey
Return Value
Type: TKey