ImmutableList<T>.IImmutableList<T>.RemoveRange Metoda

Definicja

Usuwa szereg elementów z tej niezmiennej listy.

Przeciążenia

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

Usuwa zakres elementów z tej niezmiennej listy zgodnej z określonymi elementami.

IImmutableList<T>.RemoveRange(Int32, Int32)

Usuwa określoną liczbę elementów w określonej lokalizacji z tej listy.

Uwagi

Ten element jest jawną implementacją członków. Można go używać tylko wtedy, gdy ImmutableList<T> wystąpienie jest rzutowanie do interfejsu IImmutableList<T> .

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

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

Usuwa zakres elementów z tej niezmiennej listy zgodnej z określonymi elementami.

 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

Parametry

items
IEnumerable<T>

Zakres elementów do usunięcia z listy, jeśli zostanie znaleziony.

equalityComparer
IEqualityComparer<T>

Porównanie równości do użycia do porównywania elementów.

Zwraca

Lista niezmienna z usuniętymi elementami.

Implementuje

Wyjątki

items lub equalityComparer to null.

Uwagi

Ten element jest jawną implementacją członków. Można go używać tylko wtedy, gdy ImmutableList<T> wystąpienie jest rzutowanie do interfejsu IImmutableList<T> .

Dotyczy

IImmutableList<T>.RemoveRange(Int32, Int32)

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

Usuwa określoną liczbę elementów w określonej lokalizacji z tej listy.

 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

Parametry

index
Int32

Początkowy indeks zakresu elementów do usunięcia.

count
Int32

Liczba elementów do usunięcia.

Zwraca

Nowa lista z usuniętymi elementami.

Implementuje

Uwagi

Ten element jest jawną implementacją członków. Można go używać tylko wtedy, gdy ImmutableList<T> wystąpienie jest rzutowanie do interfejsu IImmutableList<T> .

Dotyczy