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