Click or drag to resize
Accord.NET (logo)

OrderedDictionaryTKey, TValueRemove Method (KeyValuePairTKey, TValue)

Removes the first occurrence of a specific object from the ICollectionT.

Namespace:  Accord.Collections
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public bool Remove(
	KeyValuePair<TKey, TValue> item
)
Request Example View Source

Parameters

item
Type: System.Collections.GenericKeyValuePairTKey, TValue
The object to remove from the ICollectionT.

Return Value

Type: Boolean
true if item was successfully removed from the ICollectionT; otherwise, false. This method also returns false if item is not found in the original ICollectionT.
See Also