UCharacter.ToCodePoint 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
ToCodePoint(Char, Char) |
Same as |
ToCodePoint(Int32, Int32) |
Same as |
ToCodePoint(Char, Char)
Same as Character#toCodePoint
.
[Android.Runtime.Register("toCodePoint", "(CC)I", "", ApiSince=24)]
public static int ToCodePoint (char high, char low);
[<Android.Runtime.Register("toCodePoint", "(CC)I", "", ApiSince=24)>]
static member ToCodePoint : char * char -> int
Parameters
- high
- Char
the high (lead) surrogate
- low
- Char
the low (trail) surrogate
Returns
the code point formed by the surrogate pair
- Attributes
Remarks
Same as Character#toCodePoint
. Returns the code point represented by the two surrogate code units. This does not check the surrogate pair for validity.
Java documentation for android.icu.lang.UCharacter.toCodePoint(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
ToCodePoint(Int32, Int32)
Same as Character#toCodePoint
,
except that the ICU version accepts int
for code points.
[Android.Runtime.Register("toCodePoint", "(II)I", "", ApiSince=33)]
public static int ToCodePoint (int high, int low);
[<Android.Runtime.Register("toCodePoint", "(II)I", "", ApiSince=33)>]
static member ToCodePoint : int * int -> int
Parameters
- high
- Int32
the high (lead) surrogate
(In ICU 3.0-69 the type of both parameters was char
.)
- low
- Int32
the low (trail) surrogate
Returns
the code point formed by the surrogate pair
- Attributes
Remarks
Same as Character#toCodePoint
, except that the ICU version accepts int
for code points. Returns the code point represented by the two surrogate code units. This does not check the surrogate pair for validity.
Java documentation for android.icu.lang.UCharacter.toCodePoint(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.