ImmutableArray<T>.IImmutableList<T>.RemoveRange 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.
Sobrecargas
| Name | Description |
|---|---|
| IImmutableList<T>.RemoveRange(IEnumerable<T>, IEqualityComparer<T>) |
Remove os itens especificados deste array. |
| IImmutableList<T>.RemoveRange(Int32, Int32) |
Devolve um array com os elementos na posição especificada removidos. |
IImmutableList<T>.RemoveRange(IEnumerable<T>, IEqualityComparer<T>)
Remove os itens especificados deste array.
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>
Os itens a remover se corresponder forem encontrados nesta lista.
- equalityComparer
- IEqualityComparer<T>
O comparador de igualdade a usar na pesquisa.
Devoluções
Um novo array 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 ImmutableArray<T> instância é transmitida para uma IImmutableList<T> interface.
Aplica-se a
IImmutableList<T>.RemoveRange(Int32, Int32)
Devolve um array com os elementos na posição especificada removidos.
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 baseado em 0 do elemento inicial a remover do array.
- count
- Int32
O número de elementos a remover do array.
Devoluções
O novo array com os elementos especificados removidos.
Implementações
Observações
Este membro é uma implementação explícita de membro de interface. Só pode ser usado quando a ImmutableArray<T> instância é transmitida para uma IImmutableList<T> interface.