LastIndexOf

Searches for the last occurrence of a value in a list.

int LastIndexOf(
    item     // the search value
   );

Parameters

item

[in]  The searched value.

Return Value

Returns the index of the last found element. If the value is not found, returns -1.