ImmutableArray<T>.RemoveAll(Predicate<T>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從符合指定條件的陣列中移除所有專案。
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>
代表定義要移除元素的條件。
傳回
移除一個包含符合指定條件項目的新陣列。