Mono Class Library: System.Collections.IList Overview | MembersSystem.Collections.IList.IndexOf Method |
Determines the index of a specific item in the current instance. [Edit]
|
The index of value if found in the current instance; otherwise, -1. [Edit]
Operation
As described above.Note to Inheritors
The default implementations of this method use object.Equals(object) to search for value in the current instance.Usage
Use IList.IndexOf(object) to determine if a object is contained in the current instance and, if it is contained, its index in the current instance. [Edit]
Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0