IndexOf

NonGenericList.IndexOf method

Determines the index of a specific item in the IList.

public int IndexOf(object value)
Parameter Type Description
value Object The Object to locate in the IList.

Return Value

The index of value if found in the list; otherwise, -1.

See Also