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