Partilhar via


ImmutableDictionary<TKey,TValue>.IImmutableDictionary<TKey,TValue>.Remove Método

Definição

Consulte a interface IImmutableDictionary<TKey,TValue>.

 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

Parâmetros

key
TKey

A chave da entrada a ser removida.

Retornos

Um novo dicionário imutável com o elemento especificado removido; ou esta instância, se a chave especificada não puder ser encontrada no dicionário.

Implementações

Aplica-se a