共用方式為


UCharacter.GetNameAlias(Int32) Method

Definition

<strong>[icu]</strong> Returns the corrected name from NameAliases.

[Android.Runtime.Register("getNameAlias", "(I)Ljava/lang/String;", "", ApiSince=24)]
public static string? GetNameAlias (int ch);
[<Android.Runtime.Register("getNameAlias", "(I)Ljava/lang/String;", "", ApiSince=24)>]
static member GetNameAlias : int -> string

Parameters

ch
Int32

the code point for which to get the name alias

Returns

Unicode name alias, or null

Attributes

Remarks

<strong>[icu]</strong> Returns the corrected name from NameAliases.txt if there is one. Returns null if the character is unassigned or outside the range UCharacter.MIN_VALUE and UCharacter.MAX_VALUE or does not have a name. <br> Note calling any methods related to code point names, e.g. getName() incurs a one-time initialization cost to construct the name tables.

Java documentation for android.icu.lang.UCharacter.getNameAlias(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