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