ImmutableList<T>.FindAll(Predicate<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves all the elements that match the conditions defined by the specified predicate.
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)
Parameters
- match
- Predicate<T>
The delegate that defines the conditions of the elements to search for.
Returns
An immutable list that contains all the elements that match the conditions defined by the specified predicate, if found; otherwise, an empty immutable list.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈