Dictionary<(Of <(<'TKey1, TKey2, TValue>)>)>..::..Remove Method (ValueTuple<(Of <(<'TKey1, TKey2>)>)>)

Removes the element with the specified key from the [IDictionary{TKey,TValue}].

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

Syntax


public bool Remove(
	ValueTuple<TKey1, TKey2> key
)
Public Function Remove ( _
	key As ValueTuple(Of TKey1, TKey2) _
) As Boolean

Parameters

key
Type: ValueTuple<(Of <(<'TKey1, TKey2>)>)>
The key of the element to remove.

Return Value

true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original [IDictionary{TKey,TValue}].

Exceptions


ExceptionCondition
[ArgumentNullException]key is null.
[NotSupportedException] The [IDictionary{TKey,TValue}] is read-only.