Language

ULocale.Builder.SetScript(String) Method

Definition

Sets the script.

[Android.Runtime.Register("setScript", "(Ljava/lang/String;)Landroid/icu/util/ULocale$Builder;", "", ApiSince=24)]
public Android.Icu.Util.ULocale.Builder SetScript(string script);
[<Android.Runtime.Register("setScript", "(Ljava/lang/String;)Landroid/icu/util/ULocale$Builder;", "", ApiSince=24)>]
member this.SetScript : string -> Android.Icu.Util.ULocale.Builder

Parameters

script
String

the script

Returns

This builder.

Attributes

Remarks

Sets the script. If script is null or the empty string, the script in this Builder is removed. Otherwise, the script must be well-formed or an exception is thrown.

The typical script value is a four-letter script code as defined by ISO 15924.

Android reference for android.icu.util.ULocale.Builder.setScript.

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