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

定义

从数组中移除满足指定条件的所有项。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)

参数

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.

适用于