UCharacter.IsSurrogatePair Method

Definition

Overloads

IsSurrogatePair(Char, Char)

Same as Character#isSurrogatePair.

IsSurrogatePair(Int32, Int32)

Same as Character#isSurrogatePair, except that the ICU version accepts int for code points.

IsSurrogatePair(Char, Char)

Same as Character#isSurrogatePair.

[Android.Runtime.Register("isSurrogatePair", "(CC)Z", "", ApiSince=24)]
public static bool IsSurrogatePair (char high, char low);
[<Android.Runtime.Register("isSurrogatePair", "(CC)Z", "", ApiSince=24)>]
static member IsSurrogatePair : char * char -> bool

Parameters

high
Char

the high (lead) char

low
Char

the low (trail) char

Returns

true if high, low form a surrogate pair

Attributes

Remarks

Same as Character#isSurrogatePair.

Java documentation for android.icu.lang.UCharacter.isSurrogatePair(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

IsSurrogatePair(Int32, Int32)

Same as Character#isSurrogatePair, except that the ICU version accepts int for code points.

[Android.Runtime.Register("isSurrogatePair", "(II)Z", "", ApiSince=33)]
public static bool IsSurrogatePair (int high, int low);
[<Android.Runtime.Register("isSurrogatePair", "(II)Z", "", ApiSince=33)>]
static member IsSurrogatePair : int * int -> bool

Parameters

high
Int32

the high (lead) unit (In ICU 3.0-69 the type of both parameters was char.)

low
Int32

the low (trail) unit

Returns

true if high, low form a surrogate pair

Attributes

Remarks

Same as Character#isSurrogatePair, except that the ICU version accepts int for code points.

Java documentation for android.icu.lang.UCharacter.isSurrogatePair(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.

Applies to