|
RedBlackTreeDictionaryTKey, TValueRemove Method (KeyValuePairTKey, TValue)
|
Removes the first occurrence of a specific object from the dictionary.
Namespace:
Accord.Collections
Assembly:
Accord (in Accord.dll) Version: 3.8.0
Syntax public bool Remove(
KeyValuePair<TKey, TValue> item
)
Public Function Remove (
item As KeyValuePair(Of TKey, TValue)
) As Boolean
Request Example
View SourceParameters
- item
- Type: System.Collections.GenericKeyValuePairTKey, TValue
The object to remove from the dictionary.
Return Value
Type:
Booleantrue if
item was successfully removed from
the dictionary; otherwise, false. This method also returns false if
item is not found in the original dictionary.
See Also