Click or drag to resize

RankedDictionaryTKey, TValueICollectionKeyValuePairTKey, TValueRemove Method

Removes an element with the supplied key and value from the collection.

Namespace:  Kaos.Collections
Assembly:  KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax
C#
bool ICollection<KeyValuePair<TKey, TValue>>.Remove(
	KeyValuePair<TKey, TValue> keyValuePair
)

Parameters

keyValuePair
Type: System.Collections.GenericKeyValuePairTKey, TValue
Contains key and value to find and remove.

Return Value

Type: Boolean
true if element removed; otherwise false.

Implements

ICollectionTRemove(T)
Remarks
No operation is performed unless both key and value match.
See Also