Edytuj

Udostępnij za pośrednictwem


IImmutableList<T>.RemoveAll(Predicate<T>) Method

Definition

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

public:
 System::Collections::Immutable::IImmutableList<T> ^ RemoveAll(Predicate<T> ^ match);
public System.Collections.Immutable.IImmutableList<T> RemoveAll (Predicate<T> match);
abstract member RemoveAll : Predicate<'T> -> System.Collections.Immutable.IImmutableList<'T>
Public Function RemoveAll (match As Predicate(Of T)) As IImmutableList(Of T)

Parameters

match
Predicate<T>

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

Returns

A new immutable list with the elements removed.

Applies to