Skip to content

)}

QuaternaryDictionary.Remove(TKey) method

Defined in

Type: QuaternaryDictionary Namespace: ReactiveList.Reactive.Collections Assembly: ReactiveList.Reactive.dll

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

Overloads

  1. public bool Remove(TKey key)

  2. public bool Remove(KeyValuePair<TKey, TValue> item)

1. Overload

public bool Remove(TKey key)

View source (opens in a new tab)

Summary: Removes the value with the specified key from the collection.

Parameters

NameTypeDescription
keyTKeyThe key of the element to remove.

Returns: bool (opens in a new tab) -- true if the element was removed; otherwise, false.

2. Overload

public bool Remove(KeyValuePair<TKey, TValue> item)

View source (opens in a new tab)

Summary: Removes the specified key/value pair from the collection.

Parameters

NameTypeDescription
itemKeyValuePair (opens in a new tab)The key/value pair to remove.

Returns: bool (opens in a new tab) -- true if removed; otherwise, false.

Remarks

The pair is removed only when the stored value equals item's value; the check and removal are atomic.