Click or drag to resize
OrderedDictionaryTKey, TValueTryGetValue Method
Determines if this dictionary contains a key equal to key. If so, the value associated with that key is returned through the value parameter.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public override sealed bool TryGetValue(
	TKey key,
	out TValue value
)

Parameters

key
Type: TKey
The key to search for.
value
Type: TValue
Returns the value associated with key, if true was returned.

Return Value

Type: Boolean
True if the dictionary contains key. False if the dictionary does not contain key.

Implements

IDictionaryTKey, TValueTryGetValue(TKey, TValue)
Remarks
TryGetValue takes time O(log N), where N is the number of entries in the dictionary.
See Also