Język

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

Definicja

Usuwa zakres elementów z tej niezmiennej listy.

Przeciążenia

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

Usuwa szereg 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 członkowski jest jawną implementacją składową interfejsu. 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
Ź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 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ównywar równości używany do porównywania elementów.

Zwraca

Niezmienna lista z usuniętymi elementami.

Implementuje

Wyjątki

items lub equalityComparer ma wartość null.

Uwagi

Ten element członkowski jest jawną implementacją składową interfejsu. 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
Ź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

Indeks początkowy 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 członkowski jest jawną implementacją składową interfejsu. Można go używać tylko wtedy, gdy ImmutableList<T> wystąpienie jest rzutowanie do interfejsu IImmutableList<T> .

Dotyczy