LocaleDisplayNames.ScriptDisplayName Method
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.
Overloads
ScriptDisplayName(Int32) |
Returns the display name of the provided script code. |
ScriptDisplayName(String) |
Returns the display name of the provided script code. |
ScriptDisplayName(Int32)
Returns the display name of the provided script code.
[Android.Runtime.Register("scriptDisplayName", "(I)Ljava/lang/String;", "GetScriptDisplayName_IHandler", ApiSince=24)]
public abstract string? ScriptDisplayName (int scriptCode);
[<Android.Runtime.Register("scriptDisplayName", "(I)Ljava/lang/String;", "GetScriptDisplayName_IHandler", ApiSince=24)>]
abstract member ScriptDisplayName : int -> string
Parameters
- scriptCode
- Int32
the script code number
Returns
the display name of the provided script code
- Attributes
Remarks
Returns the display name of the provided script code. See android.icu.lang.UScript
for recognized script codes.
Java documentation for android.icu.text.LocaleDisplayNames.scriptDisplayName(int)
.
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
ScriptDisplayName(String)
Returns the display name of the provided script code.
[Android.Runtime.Register("scriptDisplayName", "(Ljava/lang/String;)Ljava/lang/String;", "GetScriptDisplayName_Ljava_lang_String_Handler", ApiSince=24)]
public abstract string? ScriptDisplayName (string? script);
[<Android.Runtime.Register("scriptDisplayName", "(Ljava/lang/String;)Ljava/lang/String;", "GetScriptDisplayName_Ljava_lang_String_Handler", ApiSince=24)>]
abstract member ScriptDisplayName : string -> string
Parameters
- script
- String
the script code
Returns
the display name of the provided script code
- Attributes
Remarks
Returns the display name of the provided script code.
Java documentation for android.icu.text.LocaleDisplayNames.scriptDisplayName(java.lang.String)
.
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.