JavaArray<T>.IList.Contains(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 only values compatible with the managed element type.
bool IList.Contains(object? value);
abstract member System.Collections.IList.Contains : obj -> bool
override this.System.Collections.IList.Contains : obj -> bool
Parameters
- value
- Object
The object to test against the managed element type and typed search.
Returns
The typed Contains result if value is T; otherwise, false. A null value also returns false.
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.