ImmutableDictionary<TKey,TValue>.RemoveRange Método

Definição

Remove os elementos do dicionário imutável com as chaves especificadas.

public:
 System::Collections::Immutable::ImmutableDictionary<TKey, TValue> ^ RemoveRange(System::Collections::Generic::IEnumerable<TKey> ^ keys);
public System.Collections.Immutable.ImmutableDictionary<TKey,TValue> RemoveRange (System.Collections.Generic.IEnumerable<TKey> keys);
member this.RemoveRange : seq<'Key> -> System.Collections.Immutable.ImmutableDictionary<'Key, 'Value>
Public Function RemoveRange (keys As IEnumerable(Of TKey)) As ImmutableDictionary(Of TKey, TValue)

Parâmetros

keys
IEnumerable<TKey>

As chaves dos elementos a serem removidos.

Retornos

Um novo dicionário imutável com as chaves especificadas removidas; ou esta instância, se a chave especificada não puder ser encontrada no dicionário.

Aplica-se a