Returns the index of the specified item in the collection. If the item does not exist, the IndexOf function returns -1.