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

Definition

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

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

Parameters

match
Predicate<T>

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

Returns

ImmutableArray<T>

A new array with items that meet the specified condition removed.

Applies to