Dictionary<(Of <(<'TKey1, TKey2, TValue>)>)>..::..TryGetValue Method (ValueTuple<(Of <(<'TKey1, TKey2>)>)>, Nullable<(Of <(<'TValue>)>)>%)

Gets the value associated with the specified key.

Namespace:  Tortuga.Anchor.Collections
Assembly:  Tortuga.Anchor (in Tortuga.Anchor.dll)

Syntax


public bool TryGetValue(
	ValueTuple<TKey1, TKey2> key,
	out Nullable<TValue> value
)
Public Function TryGetValue ( _
	key As ValueTuple(Of TKey1, TKey2), _
	<OutAttribute> ByRef value As Nullable(Of TValue) _
) As Boolean

Parameters

key
Type: ValueTuple<(Of <(<'TKey1, TKey2>)>)>
The key whose value to get.
value
Type: Nullable<(Of <(<'TValue>)>)>%
When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.

Return Value

true if the object that implements [IDictionary{TKey,TValue}] contains an element with the specified key; otherwise, false.