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

定义

查找满足给定条件的所有元素。

public:
 System::Collections::Generic::List<T> ^ FindAll(Predicate<T> ^ match);
public System.Collections.Generic.List<T> FindAll (Predicate<T> match);
member this.FindAll : Predicate<'T (requires 'T :> Microsoft.VisualStudio.Modeling.ModelElement)> -> System.Collections.Generic.List<'T (requires 'T :> Microsoft.VisualStudio.Modeling.ModelElement)>
Public Function FindAll (match As Predicate(Of T)) As List(Of T)

参数

match
Predicate<T>

状态.

返回

List<T>

谓词为其返回 true 的元素的列表。

适用于