System::Collections::Generic::List::Find method
List::Find method
查找符合特定谓词的元素。
T System::Collections::Generic::List<T>::Find(System::Predicate<T> predicate)
| Parameter | Type | 描述 |
|---|---|---|
| predicate | System::Predicate<T> | Predicate 用于检查元素。 |
ReturnValue
匹配元素的值,如果未找到则为 nullprtr。
另见
- Typedef Predicate
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++