# List.IndexOf

Gets the index where the List elements are stored.

![List.IndexOf](./images/ListIndexOfCalculator.png)

## Properties

<table border="1" class="docutils">
<thead>
<tr><th>Property Name</th><th>Description</th></tr>
</thead>
<tbody valign="top">
<tr>
<td>
Element Type
</td>
<td>
Element type
</td>
</tr>
<tr>
<td>
Input
</td>
<td>
List input slot
</td>
</tr>
<tr>
<td>
Output
</td>
<td>
Resulting output slot. Returns -1 if no index was found.
</td>
</tr>
<tr>
<td>
Element
</td>
<td>
Element
</td>
</tr>
 </tbody>
</table>


## Remarks

In an AOT environment such as IL2CPP, List<specified type> may not work properly unless it is used in the code.<br />
            See <a href="https://caitsithware.com/assets/arbor/docs/en/manual/dataflow/list.html#AOTRestrictions">Ahead-of-Time (AOT) Restrictions</a> for more information.

