## IList::IndexOf method


Mendapatkan indeks kemunculan pertama item dalam kontainer.

```cpp
virtual int System::Collections::Generic::IList<T>::IndexOf(const T &item) const =0
```


| Parameter | Tipe | Deskripsi |
| --- | --- | --- |
| item | const T\& | Item yang dicari. |

### ReturnValue

Indeks kemunculan pertama item dalam wadah atau -1 jika tidak ditemukan.

## Lihat Juga

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