ImmutableList<T>.IImmutableList<T>.RemoveAll Method

Definition

Removes all the elements that match the conditions defined by the specified predicate.

 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

Parameters

match
Predicate<T>

The delegate that defines the conditions of the elements to remove.

Returns

A new immutable list with the elements removed.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ImmutableList<T> instance is cast to an IImmutableList<T> interface.

Applies to