Table of Contents

Method TryGetValue

Namespace
GuildWars2.Collections
Assembly
GuildWars2.dll

TryGetValue(T, out T)

Searches the set for a given value and returns the equal value it finds, if any.

public bool TryGetValue(T equalValue, out T actualValue)

Parameters

equalValue T

The value to search for.

actualValue T

The value from the set that the search found, or the original value if the search yielded no match.

Returns

bool

true if the search was successful; otherwise, false.