ImmutableList<T>.RemoveRange Método

Definição

Sobrecargas

Nome Description
RemoveRange(IEnumerable<T>, IEqualityComparer<T>)

Remove os valores especificados desta lista.

RemoveRange(IEnumerable<T>)

Remove um intervalo de elementos desta lista imutável.

RemoveRange(Int32, Int32)

Remove um intervalo de elementos, começando do índice especificado e contendo o número especificado de elementos, desta lista imutável.

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 os valores especificados desta lista.

public:
 System::Collections::Immutable::ImmutableList<T> ^ RemoveRange(System::Collections::Generic::IEnumerable<T> ^ items, System::Collections::Generic::IEqualityComparer<T> ^ equalityComparer);
public System.Collections.Immutable.ImmutableList<T> RemoveRange(System.Collections.Generic.IEnumerable<T> items, System.Collections.Generic.IEqualityComparer<T> equalityComparer);
public System.Collections.Immutable.ImmutableList<T> RemoveRange(System.Collections.Generic.IEnumerable<T> items, System.Collections.Generic.IEqualityComparer<T>? equalityComparer);
member this.RemoveRange : seq<'T> * System.Collections.Generic.IEqualityComparer<'T> -> System.Collections.Immutable.ImmutableList<'T>
Public Function RemoveRange (items As IEnumerable(Of T), equalityComparer As IEqualityComparer(Of T)) As ImmutableList(Of T)

Parâmetros

items
IEnumerable<T>

Os itens a serem removidos se as correspondências forem encontradas nesta lista.

equalityComparer
IEqualityComparer<T>

O comparador de igualdade a ser usado na pesquisa.

Retornos

Uma nova lista com os elementos removidos.

Aplica-se a

RemoveRange(IEnumerable<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 um intervalo de elementos desta lista imutável.

public:
 System::Collections::Immutable::ImmutableList<T> ^ RemoveRange(System::Collections::Generic::IEnumerable<T> ^ items);
public System.Collections.Immutable.ImmutableList<T> RemoveRange(System.Collections.Generic.IEnumerable<T> items);
member this.RemoveRange : seq<'T> -> System.Collections.Immutable.ImmutableList<'T>
Public Function RemoveRange (items As IEnumerable(Of T)) As ImmutableList(Of T)

Parâmetros

items
IEnumerable<T>

A coleção cujos elementos devem ser removidos se as correspondências forem encontradas nesta lista.

Retornos

Uma nova lista com os elementos removidos.

Aplica-se a

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 um intervalo de elementos, começando do índice especificado e contendo o número especificado de elementos, desta lista imutável.

public:
 System::Collections::Immutable::ImmutableList<T> ^ RemoveRange(int index, int count);
public System.Collections.Immutable.ImmutableList<T> RemoveRange(int index, int count);
member this.RemoveRange : int * int -> System.Collections.Immutable.ImmutableList<'T>
Public Function RemoveRange (index As Integer, count As Integer) As ImmutableList(Of T)

Parâmetros

index
Int32

O índice inicial para iniciar a remoção.

count
Int32

O número de elementos a serem removidos.

Retornos

Uma nova lista com os elementos removidos.

Aplica-se a