Method IndexOfName
IndexOfName(string)
Gets the index of an element.
Parameters
name
stringThe name of the element.
Returns
- int
The index of the element, or -1 if the element is not found.
Gets the index of an element.
name
stringThe name of the element.
The index of the element, or -1 if the element is not found.