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