LocaleDisplayNames.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
GetInstance(ULocale) | |
GetInstance(Locale) | |
GetInstance(ULocale, DisplayContext[]) | |
GetInstance(ULocale, LocaleDisplayNames+DialectHandling) | |
GetInstance(Locale, DisplayContext[]) |
GetInstance(ULocale)
[Android.Runtime.Register("getInstance", "(Landroid/icu/util/ULocale;)Landroid/icu/text/LocaleDisplayNames;", "", ApiSince=24)]
public static Android.Icu.Text.LocaleDisplayNames? GetInstance (Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register("getInstance", "(Landroid/icu/util/ULocale;)Landroid/icu/text/LocaleDisplayNames;", "", ApiSince=24)>]
static member GetInstance : Android.Icu.Util.ULocale -> Android.Icu.Text.LocaleDisplayNames
Parameters
- locale
- ULocale
Returns
- Attributes
Remarks
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)
[Android.Runtime.Register("getInstance", "(Ljava/util/Locale;)Landroid/icu/text/LocaleDisplayNames;", "", ApiSince=24)]
public static Android.Icu.Text.LocaleDisplayNames? GetInstance (Java.Util.Locale? locale);
[<Android.Runtime.Register("getInstance", "(Ljava/util/Locale;)Landroid/icu/text/LocaleDisplayNames;", "", ApiSince=24)>]
static member GetInstance : Java.Util.Locale -> Android.Icu.Text.LocaleDisplayNames
Parameters
- locale
- Locale
Returns
- Attributes
Remarks
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, DisplayContext[])
[Android.Runtime.Register("getInstance", "(Landroid/icu/util/ULocale;[Landroid/icu/text/DisplayContext;)Landroid/icu/text/LocaleDisplayNames;", "", ApiSince=24)]
public static Android.Icu.Text.LocaleDisplayNames? GetInstance (Android.Icu.Util.ULocale? locale, params Android.Icu.Text.DisplayContext[]? contexts);
[<Android.Runtime.Register("getInstance", "(Landroid/icu/util/ULocale;[Landroid/icu/text/DisplayContext;)Landroid/icu/text/LocaleDisplayNames;", "", ApiSince=24)>]
static member GetInstance : Android.Icu.Util.ULocale * Android.Icu.Text.DisplayContext[] -> Android.Icu.Text.LocaleDisplayNames
Parameters
- locale
- ULocale
- contexts
- DisplayContext[]
Returns
- Attributes
Remarks
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, LocaleDisplayNames+DialectHandling)
[Android.Runtime.Register("getInstance", "(Landroid/icu/util/ULocale;Landroid/icu/text/LocaleDisplayNames$DialectHandling;)Landroid/icu/text/LocaleDisplayNames;", "", ApiSince=24)]
public static Android.Icu.Text.LocaleDisplayNames? GetInstance (Android.Icu.Util.ULocale? locale, Android.Icu.Text.LocaleDisplayNames.DialectHandling? dialectHandling);
[<Android.Runtime.Register("getInstance", "(Landroid/icu/util/ULocale;Landroid/icu/text/LocaleDisplayNames$DialectHandling;)Landroid/icu/text/LocaleDisplayNames;", "", ApiSince=24)>]
static member GetInstance : Android.Icu.Util.ULocale * Android.Icu.Text.LocaleDisplayNames.DialectHandling -> Android.Icu.Text.LocaleDisplayNames
Parameters
- locale
- ULocale
- dialectHandling
- LocaleDisplayNames.DialectHandling
Returns
- Attributes
Remarks
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, DisplayContext[])
[Android.Runtime.Register("getInstance", "(Ljava/util/Locale;[Landroid/icu/text/DisplayContext;)Landroid/icu/text/LocaleDisplayNames;", "", ApiSince=24)]
public static Android.Icu.Text.LocaleDisplayNames? GetInstance (Java.Util.Locale? locale, params Android.Icu.Text.DisplayContext[]? contexts);
[<Android.Runtime.Register("getInstance", "(Ljava/util/Locale;[Landroid/icu/text/DisplayContext;)Landroid/icu/text/LocaleDisplayNames;", "", ApiSince=24)>]
static member GetInstance : Java.Util.Locale * Android.Icu.Text.DisplayContext[] -> Android.Icu.Text.LocaleDisplayNames
Parameters
- locale
- Locale
- contexts
- DisplayContext[]
Returns
- Attributes
Remarks
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.