[]
Searches for the specified ID and returns the zero-based index of the corresponding resource.
public int IndexOf(int id)
Type | Name | Description |
---|---|---|
int | id |
Type | Description |
---|---|
int |
Searches for the specified Name and returns the zero-based index of the corresponding resource.
public int IndexOf(string name)
Type | Name | Description |
---|---|---|
string | name |
Type | Description |
---|---|
int |