## IKVCollection::IndexOf method


Gets index of item in container.

```cpp
virtual int System::Collections::Generic::IKVCollection<T>::IndexOf(const T &item) const override
```


| Parameter | Type | Description |
| --- | --- | --- |
| item | const T\& | Item to look for. |

### ReturnValue

[Index](../../../system/index/) of item in container.

## See Also

* Class [IKVCollection](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.PDF for C++](../../../)
