UCharacter.GetCodePoint 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
GetCodePoint(Char) |
<strong>[icu]</strong> Returns the code point corresponding to the BMP code point. |
GetCodePoint(Char, Char) |
<strong>[icu]</strong> Returns a code point corresponding to the two surrogate code units. |
GetCodePoint(Int32, Int32) |
<strong>[icu]</strong> Returns a code point corresponding to the two surrogate code units. |
GetCodePoint(Char)
<strong>[icu]</strong> Returns the code point corresponding to the BMP code point.
[Android.Runtime.Register("getCodePoint", "(C)I", "", ApiSince=24)]
public static int GetCodePoint (char char16);
[<Android.Runtime.Register("getCodePoint", "(C)I", "", ApiSince=24)>]
static member GetCodePoint : char -> int
Parameters
- char16
- Char
the BMP code point
Returns
code point if argument is a valid character.
- Attributes
Remarks
<strong>[icu]</strong> Returns the code point corresponding to the BMP code point.
Java documentation for android.icu.lang.UCharacter.getCodePoint(char)
.
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
GetCodePoint(Char, Char)
<strong>[icu]</strong> Returns a code point corresponding to the two surrogate code units.
[Android.Runtime.Register("getCodePoint", "(CC)I", "", ApiSince=24)]
public static int GetCodePoint (char lead, char trail);
[<Android.Runtime.Register("getCodePoint", "(CC)I", "", ApiSince=24)>]
static member GetCodePoint : char * char -> int
Parameters
- lead
- Char
the lead char
- trail
- Char
the trail char
Returns
code point if surrogate characters are valid.
- Attributes
Remarks
<strong>[icu]</strong> Returns a code point corresponding to the two surrogate code units.
Java documentation for android.icu.lang.UCharacter.getCodePoint(char, char)
.
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
GetCodePoint(Int32, Int32)
<strong>[icu]</strong> Returns a code point corresponding to the two surrogate code units.
[Android.Runtime.Register("getCodePoint", "(II)I", "", ApiSince=33)]
public static int GetCodePoint (int lead, int trail);
[<Android.Runtime.Register("getCodePoint", "(II)I", "", ApiSince=33)>]
static member GetCodePoint : int * int -> int
Parameters
- lead
- Int32
the lead unit
(In ICU 2.1-69 the type of both parameters was char
.)
- trail
- Int32
the trail unit
Returns
code point if lead and trail form a valid surrogate pair.
- Attributes
Remarks
<strong>[icu]</strong> Returns a code point corresponding to the two surrogate code units.
Java documentation for android.icu.lang.UCharacter.getCodePoint(int, 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.