Click or drag to resize

RankedDictionaryTKey, TValueRemove Method

Removes an element with the supplied key from the dictionary.

Namespace:  Kaos.Collections
Assembly:  KaosCollections (in KaosCollections.dll) Version: 4.2.0.0
Syntax
C#
public bool Remove(
	TKey key
)

Parameters

key
Type: TKey
The key of the element to remove.

Return Value

Type: Boolean
true if the element was successfully found and removed; otherwise false.

Implements

IDictionaryTKey, TValueRemove(TKey)
Exceptions
ExceptionCondition
ArgumentNullExceptionWhen key is null.
Remarks
This is a O(log n) operation.
See Also