ImmutableArray<T>.IImmutableList<T>.RemoveAll(Predicate<T>) 方法

定义

从数组中移除满足指定条件的所有项。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);
Function RemoveAll (match As Predicate(Of T)) As IImmutableList(Of T) Implements IImmutableList(Of T).RemoveAll

参数

match
Predicate<T>

用于定义要移除的元素应满足的条件的委托。The delegate that defines the conditions of the elements to remove.

返回

一个新数组,其中满足指定条件的项已被移除。A new array with items that meet the specified condition removed.

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 ImmutableArray<T> 实例被强制转换为 IImmutableList<T> 接口时使用。It can be used only when the ImmutableArray<T> instance is cast to an IImmutableList<T> interface.

适用于