語言

ImmutableList<T>.FindAll(Predicate<T>) 方法

定義

擷取符合指定述詞所定義之條件的所有專案。

public:
 virtual System::Collections::Immutable::ImmutableList<T> ^ FindAll(Predicate<T> ^ match);
public:
 System::Collections::Immutable::ImmutableList<T> ^ FindAll(Predicate<T> ^ match);
public System.Collections.Immutable.ImmutableList<T> FindAll(Predicate<T> match);
abstract member FindAll : Predicate<'T> -> System.Collections.Immutable.ImmutableList<'T>
override this.FindAll : Predicate<'T> -> System.Collections.Immutable.ImmutableList<'T>
member this.FindAll : Predicate<'T> -> System.Collections.Immutable.ImmutableList<'T>
Public Function FindAll (match As Predicate(Of T)) As ImmutableList(Of T)

參數

match
Predicate<T>

代表定義要搜尋元素的條件。

傳回

一個不可變的清單,包含所有符合指定謂詞定義條件的元素(若找到);否則,則是一個空且不可變的清單。

適用於