Partager via


BaseBundle.Get(String) Method

Definition

Returns the entry with the given key as an object.

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

Parameters

key
String

a String key

Returns

an Object, or null

Attributes

Remarks

Returns the entry with the given key as an object.

This member is deprecated. Use the type-safe specific APIs depending on the type of the item to be retrieved, eg. #getString(String).

Java documentation for android.os.BaseBundle.get(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