[]
Searches the current collection for an object with the specified Name.
public int IndexOfName(string name)
| Type | Name | Description |
|---|---|---|
| string | name | The name to search for. |
| Type | Description |
|---|---|
| int | Index of the object in the current collection, or -1 if no object was found. |