Locale.DisplayVariant Property
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 name for the locale's variant code that is appropriate for display to the user.
public string DisplayVariant { [Android.Runtime.Register("getDisplayVariant", "()Ljava/lang/String;", "")] get; }
[<get: Android.Runtime.Register("getDisplayVariant", "()Ljava/lang/String;", "")>]
member this.DisplayVariant : string
Property Value
The name of the display variant code appropriate to the locale.
- Attributes
Remarks
Returns a name for the locale's variant code that is appropriate for display to the user. If possible, the name will be localized for the default Locale.Category#DISPLAY DISPLAY
locale. If the locale doesn't specify a variant code, this function returns the empty string.
Java documentation for java.util.Locale.getDisplayVariant()
.
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.