Skip to content

QuadDictionary.Remove(TKey) method

Defined in

Type: QuadDictionary 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(TKey key, out TValue value)

1. Overload

public bool Remove(TKey key)

View source (opens in a new tab)

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

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(TKey key, out TValue value)

View source (opens in a new tab)

Summary: Removes the value with the specified key from the dictionary, returning the removed value.

Parameters

NameTypeDescription
keyTKeyThe key of the element to remove.
out valueTValueWhen this method returns, the removed value, if the key was found.

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