IndexOf(string item) Method
Returns the index of the specified class if it is present; otherwise -1.
Syntax
public
virtual
int IndexOf(string item)
Parameters
- item
- Type: string
The class.
Returns
Index of the specified class if it is present; otherwise -1.