Taal

AbstractMap.ContainsKey(Object) Method

Definition

Returns true if this map contains a mapping for the specified key.

[Android.Runtime.Register("containsKey", "(Ljava/lang/Object;)Z", "GetContainsKey_Ljava_lang_Object_Handler")]
public virtual bool ContainsKey(Java.Lang.Object? key);
[<Android.Runtime.Register("containsKey", "(Ljava/lang/Object;)Z", "GetContainsKey_Ljava_lang_Object_Handler")>]
abstract member ContainsKey : Java.Lang.Object -> bool
override this.ContainsKey : Java.Lang.Object -> bool

Parameters

key
Object

the key to search for.

Returns

true if this map contains a mapping for the specified key

Implements

Attributes

Remarks

Java documentation for java.util.AbstractMap.containsKey(java.lang.Object).

Java reference for java.util.AbstractMap.containsKey.

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