## List::IndexOf(const T\&) const method


Haalt de eerste index van een specifiek item op.

```cpp
int System::Collections::Generic::List<T>::IndexOf(const T &item) const override
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| item | const T\& | Item om naar te zoeken. |

### ReturnValue

Index van de eerste verschijning van het opgegeven item of -1 indien niet gevonden.

## Zie ook

* Class [List](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Page for C++](../../../)
## List::IndexOf(const T\&, int) const method


Zoekt naar een specifiek item in de lijst.

```cpp
int System::Collections::Generic::List<T>::IndexOf(const T &item, int index) const
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| item | const T\& | Item om naar te zoeken. |
| index | int | Index om de zoekopdracht te starten. |

### ReturnValue

Index van de eerste instantie van het opgegeven item of -1 indien niet gevonden.

## Zie ook

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