TBidiDictionary<TKey,TValue>.GetKeyOrDefault(TValue) Method

Gets the key for a given value if a matching value exists in the dictionary; returns the default value for TKey otherwise.

Namespace: Spring.Collections.Dictionaries
public
 function GetKeyOrDefault(const value: TValue): TKey; overload;

Parameters

value
Type: TValue

Return Value

Type: TKey

 

Implements

IBidiDictionary<TKey,TValue>.GetKeyOrDefault(TValue)