Edit

Share via


ImmutableList<T>.Builder.RemoveAll(Predicate<T>) Method

Definition

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

public:
 int RemoveAll(Predicate<T> ^ match);
public int RemoveAll (Predicate<T> match);
member this.RemoveAll : Predicate<'T> -> int
Public Function RemoveAll (match As Predicate(Of T)) As Integer

Parameters

match
Predicate<T>

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

Returns

The number of elements removed from the immutable list.

Applies to