Language

ResourceBundle.Control.GetNoFallbackControl(IList<String>) Method

Definition

Returns a ResourceBundle.Control in which the getFormats method returns the specified formats and the getFallbackLocale method returns null.

[Android.Runtime.Register("getNoFallbackControl", "(Ljava/util/List;)Ljava/util/ResourceBundle$Control;", "")]
public static Java.Util.ResourceBundle.Control GetNoFallbackControl(System.Collections.Generic.IList<string>? formats);
[<Android.Runtime.Register("getNoFallbackControl", "(Ljava/util/List;)Ljava/util/ResourceBundle$Control;", "")>]
static member GetNoFallbackControl : System.Collections.Generic.IList<string> -> Java.Util.ResourceBundle.Control

Parameters

formats
IList<String>

the formats to be returned by the ResourceBundle.Control.getFormats method

Returns

a ResourceBundle.Control supporting the specified formats with no fallback Locale support

Attributes

Remarks

Returns a ResourceBundle.Control in which the getFormats method returns the specified formats and the getFallbackLocale method returns null. The formats must be equal to one of FORMAT_PROPERTIES, FORMAT_CLASS or FORMAT_DEFAULT. ResourceBundle.Control instances returned by this method are singletons and thread-safe.

Java reference for java.util.ResourceBundle.Control.getNoFallbackControl.

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