Language

Locale.Builder.SetScript(String) Method

Definition

Sets the script.

[Android.Runtime.Register("setScript", "(Ljava/lang/String;)Ljava/util/Locale$Builder;", "")]
public Java.Util.Locale.Builder SetScript(string? script);
[<Android.Runtime.Register("setScript", "(Ljava/lang/String;)Ljava/util/Locale$Builder;", "")>]
member this.SetScript : string -> Java.Util.Locale.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.

Java reference for java.util.Locale.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