Freigeben über


LogRecord.ResourceBundle Property

Definition

Get the localization resource bundle -or- Set the localization resource bundle.

public virtual Java.Util.ResourceBundle? ResourceBundle { [Android.Runtime.Register("getResourceBundle", "()Ljava/util/ResourceBundle;", "GetGetResourceBundleHandler")] get; [Android.Runtime.Register("setResourceBundle", "(Ljava/util/ResourceBundle;)V", "GetSetResourceBundle_Ljava_util_ResourceBundle_Handler")] set; }
[<get: Android.Runtime.Register("getResourceBundle", "()Ljava/util/ResourceBundle;", "GetGetResourceBundleHandler")>]
[<set: Android.Runtime.Register("setResourceBundle", "(Ljava/util/ResourceBundle;)V", "GetSetResourceBundle_Ljava_util_ResourceBundle_Handler")>]
member this.ResourceBundle : Java.Util.ResourceBundle with get, set

Property Value

the localization resource bundle

Attributes

Remarks

Property getter documentation:

Get the localization resource bundle

This is the ResourceBundle that should be used to localize the message string before formatting it. The result may be null if the message is not localizable, or if no suitable ResourceBundle is available.

Java documentation for java.util.logging.LogRecord.getResourceBundle().

Property setter documentation:

Set the localization resource bundle.

Java documentation for java.util.logging.LogRecord.setResourceBundle(java.util.ResourceBundle).

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