Removes the element with the specified key from the [IDictionary{TKey,TValue}].
Namespace:
Tortuga.Anchor.Collections
Assembly:
Tortuga.Anchor (in Tortuga.Anchor.dll)
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}].
Exception | Condition |
---|
[ArgumentNullException] | key is null.
|
[NotSupportedException] |
The [IDictionary{TKey,TValue}] is read-only.
|