[]
Gets the index of the element by its name.
public int IndexByName(string name)
Public Function IndexByName(name As String) As Integer
| 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. |