Share via


ArrayMap.ContainsValue(Object) Method

Definition

Check whether a value exists in the array.

[Android.Runtime.Register("containsValue", "(Ljava/lang/Object;)Z", "")]
public bool ContainsValue (Java.Lang.Object? value);
[<Android.Runtime.Register("containsValue", "(Ljava/lang/Object;)Z", "")>]
abstract member ContainsValue : Java.Lang.Object -> bool
override this.ContainsValue : Java.Lang.Object -> bool

Parameters

value
Object

The value to search for.

Returns

Returns true if the value exists, else false.

Implements

Attributes

Remarks

Check whether a value exists in the array. This requires a linear search through the entire array.

Java documentation for android.util.ArrayMap.containsValue(java.lang.Object).

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.

Applies to