Bewerken

Share via


ImmutableSortedDictionary<TKey,TValue>.Remove(TKey) Method

Definition

Removes the element with the specified value from the immutable sorted dictionary.

public:
 System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ Remove(TKey value);
public System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> Remove (TKey value);
member this.Remove : 'Key -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
Public Function Remove (value As TKey) As ImmutableSortedDictionary(Of TKey, TValue)

Parameters

value
TKey

The value of the element to remove.

Returns

A new immutable dictionary with the specified element removed; or this instance if the specified value cannot be found in the dictionary.

Applies to