Partager via


ResourceBundle.Locale Property

Definition

Returns the locale of this resource bundle.

public virtual Java.Util.Locale? Locale { [Android.Runtime.Register("getLocale", "()Ljava/util/Locale;", "GetGetLocaleHandler")] get; }
[<get: Android.Runtime.Register("getLocale", "()Ljava/util/Locale;", "GetGetLocaleHandler")>]
member this.Locale : Java.Util.Locale

Property Value

the locale of this resource bundle

Attributes

Remarks

Returns the locale of this resource bundle. This method can be used after a call to getBundle() to determine whether the resource bundle returned really corresponds to the requested locale or is a fallback.

Java documentation for java.util.ResourceBundle.getLocale().

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