## IListImplValueType::IndexOf method


Gets index of first appearance of item in container.

```cpp
virtual int System::Collections::IListImplValueType<T>::IndexOf(System::SharedPtr<System::Object> value) const override
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | System::SharedPtr\<System::Object\> | Item to look for. |

### ReturnValue

Index of first appearance of item in container or -1 if not found.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [IListImplValueType](../)
* Namespace [System::Collections](../../)
* Library [Aspose.Page for C++](../../../)
