Επεξεργασία

Κοινή χρήση μέσω


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

Definition

Removes the element with the specified key from the immutable dictionary.

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

Parameters

key
TKey

The key of the element to remove.

Returns

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

Applies to