## List::Exists method


检查列表中是否存在符合特定谓词的元素。

```cpp
bool System::Collections::Generic::List<T>::Exists(System::Predicate<T> match)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| match | System::Predicate\<T\> | [Predicate](../../../system/predicate/) 用于检查元素。 |

### ReturnValue

如果找到匹配的元素则为 true，否则为 false。

## 另见

* Typedef [Predicate](../../../system/predicate/)
* Class [List](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Page for C++](../../../)
