Locale.Variant Property

Definition

Returns the variant code for this locale.

public string Variant { [Android.Runtime.Register("getVariant", "()Ljava/lang/String;", "")] get; }
[<get: Android.Runtime.Register("getVariant", "()Ljava/lang/String;", "")>]
member this.Variant : string

Property Value

The variant code, or the empty string if none is defined.

Attributes

Remarks

Returns the variant code for this locale.

Java documentation for java.util.Locale.getVariant().

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