[]
Gets the index of the element by its name.
public int IndexByName(string name)
Type | Name | Description |
---|---|---|
string | name | The name of element. |
Type | Description |
---|---|
int | The zero-based index of element with specified name or -1 if name not specified. |