ImmutableList<T>.IImmutableList<T>.RemoveRange Método

Definição

Remove uma série de elementos desta lista imutável.

Sobrecargas

Name Description
IImmutableList<T>.RemoveRange(IEnumerable<T>, IEqualityComparer<T>)

Remove uma série de elementos desta lista imutável que correspondem aos itens especificados.

IImmutableList<T>.RemoveRange(Int32, Int32)

Remove o número especificado de elementos no local especificado desta lista.

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.

IImmutableList<T>.RemoveRange(IEnumerable<T>, IEqualityComparer<T>)

Origem:
ImmutableList_1.cs
Origem:
ImmutableList_1.cs
Origem:
ImmutableList_1.cs
Origem:
ImmutableList_1.cs
Origem:
ImmutableList_1.cs
Origem:
ImmutableList_1.cs

Remove uma série de elementos desta lista imutável que correspondem aos itens especificados.

 virtual System::Collections::Immutable::IImmutableList<T> ^ System.Collections.Immutable.IImmutableList<T>.RemoveRange(System::Collections::Generic::IEnumerable<T> ^ items, System::Collections::Generic::IEqualityComparer<T> ^ equalityComparer) = System::Collections::Immutable::IImmutableList<T>::RemoveRange;
System.Collections.Immutable.IImmutableList<T> IImmutableList<T>.RemoveRange(System.Collections.Generic.IEnumerable<T> items, System.Collections.Generic.IEqualityComparer<T> equalityComparer);
abstract member System.Collections.Immutable.IImmutableList<T>.RemoveRange : seq<'T> * System.Collections.Generic.IEqualityComparer<'T> -> System.Collections.Immutable.IImmutableList<'T>
override this.System.Collections.Immutable.IImmutableList<T>.RemoveRange : seq<'T> * System.Collections.Generic.IEqualityComparer<'T> -> System.Collections.Immutable.IImmutableList<'T>
Function RemoveRange (items As IEnumerable(Of T), equalityComparer As IEqualityComparer(Of T)) As IImmutableList(Of T) Implements IImmutableList(Of T).RemoveRange

Parâmetros

items
IEnumerable<T>

A variedade de itens a remover da lista, se forem encontrados.

equalityComparer
IEqualityComparer<T>

O comparador de igualdade a usar para comparar elementos.

Devoluções

Uma lista imutável com os itens removidos.

Implementações

Exceções

items ou equalityComparer é null.

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.

Aplica-se a

IImmutableList<T>.RemoveRange(Int32, Int32)

Origem:
ImmutableList_1.cs
Origem:
ImmutableList_1.cs
Origem:
ImmutableList_1.cs
Origem:
ImmutableList_1.cs
Origem:
ImmutableList_1.cs
Origem:
ImmutableList_1.cs

Remove o número especificado de elementos no local especificado desta lista.

 virtual System::Collections::Immutable::IImmutableList<T> ^ System.Collections.Immutable.IImmutableList<T>.RemoveRange(int index, int count) = System::Collections::Immutable::IImmutableList<T>::RemoveRange;
System.Collections.Immutable.IImmutableList<T> IImmutableList<T>.RemoveRange(int index, int count);
abstract member System.Collections.Immutable.IImmutableList<T>.RemoveRange : int * int -> System.Collections.Immutable.IImmutableList<'T>
override this.System.Collections.Immutable.IImmutableList<T>.RemoveRange : int * int -> System.Collections.Immutable.IImmutableList<'T>
Function RemoveRange (index As Integer, count As Integer) As IImmutableList(Of T) Implements IImmutableList(Of T).RemoveRange

Parâmetros

index
Int32

O índice inicial do intervalo de elementos a remover.

count
Int32

O número de elementos a remover.

Devoluções

Uma nova lista com os elementos removidos.

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.

Aplica-se a