Partager via


UCharacter.GetName Method

Definition

Overloads

GetName(Int32)

<strong>[icu]</strong> Returns the most current Unicode name of the argument code point, or null if the character is unassigned or outside the range UCharacter.MIN_VALUE and UCharacter.MAX_VALUE or does not have a name.

GetName(String, String)

<strong>[icu]</strong> Returns the names for each of the characters in a string

GetName(Int32)

<strong>[icu]</strong> Returns the most current Unicode name of the argument code point, or null if the character is unassigned or outside the range UCharacter.MIN_VALUE and UCharacter.MAX_VALUE or does not have a name.

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

Parameters

ch
Int32

the code point for which to get the name

Returns

most current Unicode name

Attributes

Remarks

<strong>[icu]</strong> Returns the most current Unicode name of the argument code point, or 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.getName(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

GetName(String, String)

<strong>[icu]</strong> Returns the names for each of the characters in a string

[Android.Runtime.Register("getName", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)]
public static string? GetName (string? s, string? separator);
[<Android.Runtime.Register("getName", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "", ApiSince=24)>]
static member GetName : string * string -> string

Parameters

s
String

string to format

separator
String

string to go between names

Returns

string of names

Attributes

Remarks

<strong>[icu]</strong> Returns the names for each of the characters in a string

Java documentation for android.icu.lang.UCharacter.getName(java.lang.String, 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