Partager via


UCharacter.IsHighSurrogate Method

Definition

Overloads

IsHighSurrogate(Char)

Same as Character#isHighSurrogate,

IsHighSurrogate(Int32)

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

IsHighSurrogate(Char)

Same as Character#isHighSurrogate,

[Android.Runtime.Register("isHighSurrogate", "(C)Z", "", ApiSince=24)]
public static bool IsHighSurrogate (char ch);
[<Android.Runtime.Register("isHighSurrogate", "(C)Z", "", ApiSince=24)>]
static member IsHighSurrogate : char -> bool

Parameters

ch
Char

the char to check

Returns

true if ch is a high (lead) surrogate

Attributes

Remarks

Same as Character#isHighSurrogate,

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

IsHighSurrogate(Int32)

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

[Android.Runtime.Register("isHighSurrogate", "(I)Z", "", ApiSince=33)]
public static bool IsHighSurrogate (int codePoint);
[<Android.Runtime.Register("isHighSurrogate", "(I)Z", "", ApiSince=33)>]
static member IsHighSurrogate : int -> bool

Parameters

codePoint
Int32

the code point to check (In ICU 3.0-69 the type of this parameter was char.)

Returns

true if codePoint is a high (lead) surrogate

Attributes

Remarks

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

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