'Declaration Public Function IndexOf( _ ByVal obj As System.Object _ ) As System.Integer
public System.int IndexOf( System.object obj )
Parameters
- obj
- The Object to locate in the collection. The value can be a null reference.
Return Value
The zero-based index of the first occurrence of value within the entire collection, if found; otherwise, -1.