'Declaration Public Overloads Function IndexOf( _ ByVal name As System.String _ ) As System.Integer
public System.int IndexOf( System.string name )
Parameters
- name
- String containing the name of the item to locate (case-sensitive).
Return Value
The index of the object in the collection, or -1 if the name was not found.