Language

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

Definition

Returns a control whose GetFormats(String) 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 GetFormats(String).

Returns

a ResourceBundle.Control supporting the specified formats

Attributes

Remarks

The contents of formats must match FormatProperties, FormatClass or FormatDefault. The returned controls are thread-safe singletons. Supplying the default formats gives the behavior of the default control, but 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