---
title: "System::Collections::Generic::List::Find method"
url: "https://reference.aspose.com/tex/cpp/system.collections.generic/list/find/"
product: "Aspose.TeX for C++"
description: "System::Collections::Generic::List::Find method. Looks for element adhering to specific predicate in C++."
---

## List::Find method


Looks for element adhering to specific predicate.

```cpp
T System::Collections::Generic::List<T>::Find(System::Predicate<T> predicate)
```


| Parameter | Type | Description |
| --- | --- | --- |
| predicate | System::Predicate\<T\> | [Predicate](../../../system/predicate/) to check elements with. |

### ReturnValue

Value of matching element or nullprtr if not found.

## See Also

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