UCharacter.GetExtendedName(Int32) 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.
<strong>[icu]</strong> Returns a name for a valid codepoint.
[Android.Runtime.Register("getExtendedName", "(I)Ljava/lang/String;", "", ApiSince=24)]
public static string? GetExtendedName (int ch);
[<Android.Runtime.Register("getExtendedName", "(I)Ljava/lang/String;", "", ApiSince=24)>]
static member GetExtendedName : int -> string
Parameters
- ch
- Int32
the code point for which to get the name
Returns
a name for the argument codepoint
- Attributes
Remarks
<strong>[icu]</strong> Returns a name for a valid codepoint. Unlike, getName(int) and getName1_0(int), this method will return a name even for codepoints that are not assigned a name in UnicodeData.txt.
The names are returned in the following order. <ul> <li> Most current Unicode name if there is any <li> Unicode 1.0 name if there is any <li> Extended name in the form of "<codepoint_type-codepoint_hex_digits>". E.g., <noncharacter-fffe> </ul> 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.getExtendedName(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.