ImmutableList<T>.IImmutableList<T>.RemoveAll 方法

定义

删除与指定谓词定义的条件匹配的所有元素。

 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);
abstract member System.Collections.Immutable.IImmutableList<T>.RemoveAll : Predicate<'T> -> System.Collections.Immutable.IImmutableList<'T>
override this.System.Collections.Immutable.IImmutableList<T>.RemoveAll : Predicate<'T> -> System.Collections.Immutable.IImmutableList<'T>
Function RemoveAll (match As Predicate(Of T)) As IImmutableList(Of T) Implements IImmutableList(Of T).RemoveAll

参数

match
Predicate<T>

定义要移除的元素条件的委托。

返回

删除了元素的新不可变列表。

实现

注解

此成员是显式接口成员实现。 仅当实例强制转换为ImmutableList<T>接口时IImmutableList<T>,才能使用它。

适用于