Editar

Partilhar via


ImmutableArray<T>.IImmutableList<T>.RemoveAll Method

Definition

Removes all the items from the array that meet the specified condition.

 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 array with items that meet the specified condition removed.

Implements

Remarks

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

Applies to