[]
Gets index of the item.
public int IndexOf(ListItem item)
Public Function IndexOf(item As ListItem) As Integer
A SubItem object that need to find index.
An int value indicating the index if the item is found in the collection; otherwise,-1.