ImmutableList<T>.IImmutableList<T>.Remove Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Remove o elemento com o valor especificado da lista.
virtual System::Collections::Immutable::IImmutableList<T> ^ System.Collections.Immutable.IImmutableList<T>.Remove(T value, System::Collections::Generic::IEqualityComparer<T> ^ equalityComparer) = System::Collections::Immutable::IImmutableList<T>::Remove;
System.Collections.Immutable.IImmutableList<T> IImmutableList<T>.Remove(T value, System.Collections.Generic.IEqualityComparer<T> equalityComparer);
abstract member System.Collections.Immutable.IImmutableList<T>.Remove : 'T * System.Collections.Generic.IEqualityComparer<'T> -> System.Collections.Immutable.IImmutableList<'T>
override this.System.Collections.Immutable.IImmutableList<T>.Remove : 'T * System.Collections.Generic.IEqualityComparer<'T> -> System.Collections.Immutable.IImmutableList<'T>
Function Remove (value As T, equalityComparer As IEqualityComparer(Of T)) As IImmutableList(Of T) Implements IImmutableList(Of T).Remove
Parâmetros
- value
- T
O valor do elemento a remover da lista.
- equalityComparer
- IEqualityComparer<T>
O comparador a usar para comparar elementos para igualdade.
Devoluções
Um novo ImmutableList<T> com o elemento especificado removido.
Implementações
Observações
Este membro é uma implementação explícita de membro de interface. Só pode ser usado quando a ImmutableList<T> instância é transmitida para uma IImmutableList<T> interface.