Bundle.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", "")]
public override bool ContainsKey(string? key);
[<Android.Runtime.Register("containsKey", "(Ljava/lang/String;)Z", "")>]
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

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.

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

Applies to