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