[]
Determines the index of the string value in the collection.
public int IndexOf(string item)
Public Function IndexOf(item As String) As Integer
| Type | Name | Description |
|---|---|---|
| string | item | String value to locate in collection. |
| Type | Description |
|---|---|
| int | Index of the string value if string value is found in the collection; otherwise, -1. |