IndexOf

NonGenericList.IndexOf method

Determines the index of a specific item in the IList.

public int IndexOf(object value)
ParameterTypeDescription
valueObjectThe Object to locate in the IList.

Return Value

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

See Also