
## IndexOf {#indexof}

Determines the index of a specific item in the list.

**Returns:** The index of value if found in the list; otherwise, -1.

```cpp
IndexOf(const System::SharedPtr < CustomerEvent > & value)
```

| Parameter | Description |
| --- | --- |
| value | The T:System::Object to locate in the list. |

