Partager via


UCharacter.GetCharFromNameAlias(String) Method

Definition

<strong>[icu]</strong>

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

Parameters

name
String

Unicode name alias whose code point is to be returned

Returns

code point or -1 if name is not found

Attributes

Remarks

<strong>[icu]</strong>

Find a Unicode character by its corrected name alias and return its code point value. All Unicode names are in uppercase. 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.getCharFromNameAlias(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.

Applies to