Obtains the position of the specified string within the collection.
value The string for which to search.
The index for the specified item.
The AutoCompleteStringCollection.IndexOf(string) returns the index for the first occurrence of the string within the collection.