JavaArray<T>.IList.IndexOf(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Searches for an object compatible with the managed element type.
int IList.IndexOf(object? value);
abstract member System.Collections.IList.IndexOf : obj -> int
override this.System.Collections.IList.IndexOf : obj -> int
Parameters
- value
- Object
The object to test against the managed element type and typed search.
Returns
The typed search result if value is T; otherwise, -1. A null value also returns -1.
Implements
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.