ImmutableList<T>.RemoveRange Metoda

Definicja

Przeciążenia

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

Usuwa określone wartości z tej listy.

RemoveRange(IEnumerable<T>)

Usuwa szereg elementów z tej niezmiennej listy.

RemoveRange(Int32, Int32)

Usuwa zakres elementów, począwszy od określonego indeksu i zawierający określoną liczbę elementów z tej niezmiennej listy.

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

Źródło:
ImmutableList_1.cs
Źródło:
ImmutableList_1.cs
Źródło:
ImmutableList_1.cs

Usuwa określone wartości z tej listy.

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)

Parametry

items
IEnumerable<T>

Elementy do usunięcia, jeśli zostaną znalezione dopasowania na tej liście.

equalityComparer
IEqualityComparer<T>

Porównanie równości do użycia w wyszukiwaniu.

Zwraca

Nowa lista z usuniętymi elementami.

Dotyczy

RemoveRange(IEnumerable<T>)

Źródło:
ImmutableList_1.cs
Źródło:
ImmutableList_1.cs
Źródło:
ImmutableList_1.cs

Usuwa szereg elementów z tej niezmiennej listy.

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)

Parametry

items
IEnumerable<T>

Kolekcja, której elementy powinny zostać usunięte, jeśli zostaną znalezione dopasowania na tej liście.

Zwraca

Nowa lista z usuniętymi elementami.

Dotyczy

RemoveRange(Int32, Int32)

Źródło:
ImmutableList_1.cs
Źródło:
ImmutableList_1.cs
Źródło:
ImmutableList_1.cs

Usuwa zakres elementów, począwszy od określonego indeksu i zawierający określoną liczbę elementów z tej niezmiennej listy.

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)

Parametry

index
Int32

Początkowy indeks do rozpoczęcia usuwania.

count
Int32

Liczba elementów do usunięcia.

Zwraca

Nowa lista z usuniętymi elementami.

Dotyczy