Modifica

Condividi tramite


ImmutableDictionary<TKey,TValue>.IImmutableDictionary<TKey,TValue>.Remove Method

Definition

 virtual System::Collections::Immutable::IImmutableDictionary<TKey, TValue> ^ System.Collections.Immutable.IImmutableDictionary<TKey,TValue>.Remove(TKey key) = System::Collections::Immutable::IImmutableDictionary<TKey, TValue>::Remove;
System.Collections.Immutable.IImmutableDictionary<TKey,TValue> IImmutableDictionary<TKey,TValue>.Remove (TKey key);
abstract member System.Collections.Immutable.IImmutableDictionary<TKey,TValue>.Remove : 'Key -> System.Collections.Immutable.IImmutableDictionary<'Key, 'Value>
override this.System.Collections.Immutable.IImmutableDictionary<TKey,TValue>.Remove : 'Key -> System.Collections.Immutable.IImmutableDictionary<'Key, 'Value>
Function Remove (key As TKey) As IImmutableDictionary(Of TKey, TValue) Implements IImmutableDictionary(Of TKey, TValue).Remove

Parameters

key
TKey

Key of the entry to be removed.

Returns

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

Implements

Applies to