Udostępnij za pośrednictwem


ResourceBundle.HandleGetObject(String) Method

Definition

Gets an object for the given key from this resource bundle.

[Android.Runtime.Register("handleGetObject", "(Ljava/lang/String;)Ljava/lang/Object;", "GetHandleGetObject_Ljava_lang_String_Handler")]
public abstract Java.Lang.Object? HandleGetObject (string? key);
[<Android.Runtime.Register("handleGetObject", "(Ljava/lang/String;)Ljava/lang/Object;", "GetHandleGetObject_Ljava_lang_String_Handler")>]
abstract member HandleGetObject : string -> Java.Lang.Object

Parameters

key
String

the key for the desired object

Returns

the object for the given key, or null

Attributes

Remarks

Gets an object for the given key from this resource bundle. Returns null if this resource bundle does not contain an object for the given key.

Java documentation for java.util.ResourceBundle.handleGetObject(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