ResourceBundle.Control.GetControl(IList<String>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.