MeasureFormat.GetInstance 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.
Overloads
| Name | Description |
|---|---|
| GetInstance(Locale, MeasureFormat+FormatWidth, NumberFormat) |
Create a format from the Locale, formatWidth, and format. |
| GetInstance(ULocale, MeasureFormat+FormatWidth, NumberFormat) |
Create a format from the locale, formatWidth, and format. |
| GetInstance(ULocale, MeasureFormat+FormatWidth) |
Create a format from the locale, formatWidth, and format. |
| GetInstance(Locale, MeasureFormat+FormatWidth) |
Create a format from the Locale and formatWidth. |
GetInstance(Locale, MeasureFormat+FormatWidth, NumberFormat)
Create a format from the Locale, formatWidth, and format.
[Android.Runtime.Register("getInstance", "(Ljava/util/Locale;Landroid/icu/text/MeasureFormat$FormatWidth;Landroid/icu/text/NumberFormat;)Landroid/icu/text/MeasureFormat;", "", ApiSince=24)]
public static Android.Icu.Text.MeasureFormat? GetInstance(Java.Util.Locale? locale, Android.Icu.Text.MeasureFormat.FormatWidth? formatWidth, Android.Icu.Text.NumberFormat? format);
[<Android.Runtime.Register("getInstance", "(Ljava/util/Locale;Landroid/icu/text/MeasureFormat$FormatWidth;Landroid/icu/text/NumberFormat;)Landroid/icu/text/MeasureFormat;", "", ApiSince=24)>]
static member GetInstance : Java.Util.Locale * Android.Icu.Text.MeasureFormat.FormatWidth * Android.Icu.Text.NumberFormat -> Android.Icu.Text.MeasureFormat
Parameters
- locale
- Locale
the Locale.
- formatWidth
- MeasureFormat.FormatWidth
hints how long formatted strings should be.
- format
- NumberFormat
This is defensively copied.
Returns
The new MeasureFormat object.
- Attributes
Remarks
Create a format from the Locale, formatWidth, and format.
Android reference for android.icu.text.MeasureFormat.getInstance.
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
GetInstance(ULocale, MeasureFormat+FormatWidth, NumberFormat)
Create a format from the locale, formatWidth, and format.
[Android.Runtime.Register("getInstance", "(Landroid/icu/util/ULocale;Landroid/icu/text/MeasureFormat$FormatWidth;Landroid/icu/text/NumberFormat;)Landroid/icu/text/MeasureFormat;", "", ApiSince=24)]
public static Android.Icu.Text.MeasureFormat? GetInstance(Android.Icu.Util.ULocale? locale, Android.Icu.Text.MeasureFormat.FormatWidth? formatWidth, Android.Icu.Text.NumberFormat? format);
[<Android.Runtime.Register("getInstance", "(Landroid/icu/util/ULocale;Landroid/icu/text/MeasureFormat$FormatWidth;Landroid/icu/text/NumberFormat;)Landroid/icu/text/MeasureFormat;", "", ApiSince=24)>]
static member GetInstance : Android.Icu.Util.ULocale * Android.Icu.Text.MeasureFormat.FormatWidth * Android.Icu.Text.NumberFormat -> Android.Icu.Text.MeasureFormat
Parameters
- locale
- ULocale
the locale.
- formatWidth
- MeasureFormat.FormatWidth
hints how long formatted strings should be.
- format
- NumberFormat
This is defensively copied.
Returns
The new MeasureFormat object.
- Attributes
Remarks
Create a format from the locale, formatWidth, and format.
Android reference for android.icu.text.MeasureFormat.getInstance.
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
GetInstance(ULocale, MeasureFormat+FormatWidth)
Create a format from the locale, formatWidth, and format.
[Android.Runtime.Register("getInstance", "(Landroid/icu/util/ULocale;Landroid/icu/text/MeasureFormat$FormatWidth;)Landroid/icu/text/MeasureFormat;", "", ApiSince=24)]
public static Android.Icu.Text.MeasureFormat? GetInstance(Android.Icu.Util.ULocale? locale, Android.Icu.Text.MeasureFormat.FormatWidth? formatWidth);
[<Android.Runtime.Register("getInstance", "(Landroid/icu/util/ULocale;Landroid/icu/text/MeasureFormat$FormatWidth;)Landroid/icu/text/MeasureFormat;", "", ApiSince=24)>]
static member GetInstance : Android.Icu.Util.ULocale * Android.Icu.Text.MeasureFormat.FormatWidth -> Android.Icu.Text.MeasureFormat
Parameters
- locale
- ULocale
the locale.
- formatWidth
- MeasureFormat.FormatWidth
hints how long formatted strings should be.
Returns
The new MeasureFormat object.
- Attributes
Remarks
Create a format from the locale, formatWidth, and format.
Android reference for android.icu.text.MeasureFormat.getInstance.
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
GetInstance(Locale, MeasureFormat+FormatWidth)
Create a format from the Locale and formatWidth.
[Android.Runtime.Register("getInstance", "(Ljava/util/Locale;Landroid/icu/text/MeasureFormat$FormatWidth;)Landroid/icu/text/MeasureFormat;", "", ApiSince=24)]
public static Android.Icu.Text.MeasureFormat? GetInstance(Java.Util.Locale? locale, Android.Icu.Text.MeasureFormat.FormatWidth? formatWidth);
[<Android.Runtime.Register("getInstance", "(Ljava/util/Locale;Landroid/icu/text/MeasureFormat$FormatWidth;)Landroid/icu/text/MeasureFormat;", "", ApiSince=24)>]
static member GetInstance : Java.Util.Locale * Android.Icu.Text.MeasureFormat.FormatWidth -> Android.Icu.Text.MeasureFormat
Parameters
- locale
- Locale
the Locale.
- formatWidth
- MeasureFormat.FormatWidth
hints how long formatted strings should be.
Returns
The new MeasureFormat object.
- Attributes
Remarks
Create a format from the Locale and formatWidth.
Android reference for android.icu.text.MeasureFormat.getInstance.
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.