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