Table of Contents

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

equalKey TKey

The key to search for.

actualKey TKey

The key from the dictionary that the search found, or equalKey if the search yielded no match.

Returns

bool

true if the search was successful; otherwise, false.