IList.IndexOf Method
When implemented by a class, this method determines the index number of a specified object in the IList collection.
Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Syntax
public int IndexOf (
Object value
)
Parameters
- value
The object you want to search for in the collection.
Return Value
The index number of the specified object if it was found in the IList collection; otherwise, -1.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.