Removes the first occurrence of a specific object from the [ICollection{T}].
Namespace:
Tortuga.Anchor.Collections
Assembly:
Tortuga.Anchor (in Tortuga.Anchor.dll)
public bool Remove(
KeyValuePair<ValueTuple<TKey1, TKey2>, TValue> item
)
Public Function Remove ( _
item As KeyValuePair(Of ValueTuple(Of TKey1, TKey2), TValue) _
) As Boolean
Parameters
- item
- Type: KeyValuePair<(Of <(<'ValueTuple<(Of <(<'TKey1, TKey2>)>)>, TValue>)>)>
The object to remove from the [ICollection{T}].
Return Value
true if
item was successfully removed from the
[ICollection{T}]; otherwise, false. This method also returns false if
item is not found in the original
[ICollection{T}].
Exception | Condition |
---|
[NotSupportedException] |
The [ICollection{T}] is read-only.
|