ImmutableList<T>.IImmutableList<T>.RemoveAll Metod

Definition

Tar bort alla element som matchar de villkor som definieras av det angivna predikatet.

 virtual System::Collections::Immutable::IImmutableList<T> ^ System.Collections.Immutable.IImmutableList<T>.RemoveAll(Predicate<T> ^ match) = System::Collections::Immutable::IImmutableList<T>::RemoveAll;
System.Collections.Immutable.IImmutableList<T> IImmutableList<T>.RemoveAll(Predicate<T> match);
abstract member System.Collections.Immutable.IImmutableList<T>.RemoveAll : Predicate<'T> -> System.Collections.Immutable.IImmutableList<'T>
override this.System.Collections.Immutable.IImmutableList<T>.RemoveAll : Predicate<'T> -> System.Collections.Immutable.IImmutableList<'T>
Function RemoveAll (match As Predicate(Of T)) As IImmutableList(Of T) Implements IImmutableList(Of T).RemoveAll

Parametrar

match
Predicate<T>

Ombudet som definierar villkoren för de element som ska tas bort.

Returer

En ny oföränderlig lista med elementen borttagna.

Implementeringar

Kommentarer

Den här medlemmen är en explicit implementering av gränssnittsmedlemmar. Den kan endast användas när instansen ImmutableList<T> skickas till ett IImmutableList<T> gränssnitt.

Gäller för