ArraySet.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.
Check whether a value exists in the set.
[Android.Runtime.Register("contains", "(Ljava/lang/Object;)Z", "", ApiSince=23)]
public bool Contains (Java.Lang.Object? key);
[<Android.Runtime.Register("contains", "(Ljava/lang/Object;)Z", "", ApiSince=23)>]
abstract member Contains : Java.Lang.Object -> bool
override this.Contains : Java.Lang.Object -> bool
Parameters
- key
- 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 set.
Java documentation for android.util.ArraySet.contains(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.