ImmutableList<T>.RemoveAll(Predicate<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes all the elements that match the conditions defined by the specified predicate.
public:
System::Collections::Immutable::ImmutableList<T> ^ RemoveAll(Predicate<T> ^ match);
public System.Collections.Immutable.ImmutableList<T> RemoveAll (Predicate<T> match);
member this.RemoveAll : Predicate<'T> -> System.Collections.Immutable.ImmutableList<'T>
Public Function RemoveAll (match As Predicate(Of T)) As ImmutableList(Of T)
Parameters
- match
- Predicate<T>
The delegate that defines the conditions of the elements to remove.
Returns
The new list with the elements removed.