Method TryGetKey
- Namespace
- GuildWars2.Collections
- Assembly
- GuildWars2.dll
TryGetKey(TKey, out TKey)
Searches the dictionary for a given key and returns the equal key it finds, if any.
public bool TryGetKey(TKey equalKey, out TKey actualKey)
Parameters
equalKeyTKeyThe key to search for.
actualKeyTKeyThe key from the dictionary that the search found, or
equalKeyif the search yielded no match.
Returns
- bool
trueif the search was successful; otherwise,false.