Language

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

Definition

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

[Android.Runtime.Register("getControl", "(Ljava/util/List;)Ljava/util/ResourceBundle$Control;", "")]
public static Java.Util.ResourceBundle.Control GetControl(System.Collections.Generic.IList<string>? formats);
[<Android.Runtime.Register("getControl", "(Ljava/util/List;)Ljava/util/ResourceBundle$Control;", "")>]
static member GetControl : 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

Attributes

Remarks

Returns a ResourceBundle.Control in which the getFormats method returns the specified formats. 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. Specifying FORMAT_DEFAULT is equivalent to instantiating the ResourceBundle.Control class, except that this method returns a singleton.

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

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