Bundle.Get(String) Method

Definition

Caution

deprecated

Returns the entry with the given key as an object.

[Android.Runtime.Register("get", "(Ljava/lang/String;)Ljava/lang/Object;", "")]
[System.Obsolete("deprecated")]
public override Java.Lang.Object? Get(string? key);
[<Android.Runtime.Register("get", "(Ljava/lang/String;)Ljava/lang/Object;", "")>]
[<System.Obsolete("deprecated")>]
override this.Get : string -> Java.Lang.Object

Parameters

key
String

a String key

Returns

an Object, or null

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.get(java.lang.String).

Applies to