ImmutableList<T>.Builder.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>

定義要搜尋項目之條件的委派。

傳回

如果找到,則為不可變的清單,其中包含符合指定述詞所定義之條件的所有項目,否則為空的不可變清單。

適用於