Locale.Script Property

Definition

Returns the script for this locale, which should either be the empty string or an ISO 15924 4-letter script code.

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

Property Value

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

Attributes

Remarks

Returns the script for this locale, which should either be the empty string or an ISO 15924 4-letter script code. The first letter is uppercase and the rest are lowercase, for example, 'Latn', 'Cyrl'.

Added in 1.7.

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

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