Freigeben über


BaseBundle.ContainsKey(String) Method

Definition

Returns true if the given key is contained in the mapping of this Bundle.

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

Parameters

key
String

a String key

Returns

true if the key is part of the mapping, false otherwise

Attributes

Remarks

Returns true if the given key is contained in the mapping of this Bundle.

Java documentation for android.os.BaseBundle.containsKey(java.lang.String).

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