IImmutableList<T>.RemoveAll(Predicate<T>) 方法
定义
移除与指定的谓词所定义的条件相匹配的所有元素。Removes all the elements that match the conditions defined by the specified predicate.
public:
System::Collections::Immutable::IImmutableList<T> ^ RemoveAll(Predicate<T> ^ match);
public System.Collections.Immutable.IImmutableList<T> RemoveAll (Predicate<T> match);
abstract member RemoveAll : Predicate<'T> -> System.Collections.Immutable.IImmutableList<'T>
Public Function RemoveAll (match As Predicate(Of T)) As IImmutableList(Of T)
参数
- match
- Predicate<T>
用于定义要移除的元素应满足的条件的委托。The delegate that defines the conditions of the elements to remove.
返回
已移除元素的新不可变列表。A new immutable list with the elements removed.