System::Collections::Generic::List::Exists 方法
List::Exists method
检查列表中是否存在符合特定谓词的元素。
bool System::Collections::Generic::List<T>::Exists(System::Predicate<T> match)
| Parameter | Type | 描述 |
|---|---|---|
| match | System::Predicate<T> | Predicate 用于检查元素。 |
ReturnValue
如果找到匹配的元素则为 true,否则为 false。
另见
- Typedef Predicate
- Class List
- Namespace System::Collections::Generic
- Library Aspose.Page for C++