Method IndexOfName
IndexOfName(string)
Gets the index of an element.
public virtual int IndexOfName(string name)Parameters
- namestring
- The 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.
public virtual int IndexOfName(string name)name stringThe name of the element.
The index of the element, or -1 if the element is not found.