[]
Gets the index of the entry with the specified name.
public int IndexOf(string name)
| Type | Name | Description |
|---|---|---|
| string | name | Name of the entry to look for. |
| Type | Description |
|---|---|
| int | The index of the entry in the collection, or -1 if the entry was not found. |