Character.IsHighSurrogate(Char) 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.
Determines if the given char
value is a
Unicode high-surrogate code unit
(also known as leading-surrogate code unit).
[Android.Runtime.Register("isHighSurrogate", "(C)Z", "")]
public static bool IsHighSurrogate (char ch);
[<Android.Runtime.Register("isHighSurrogate", "(C)Z", "")>]
static member IsHighSurrogate : char -> bool
Parameters
- ch
- Char
the char
value to be tested.
Returns
true
if the char
value is between
#MIN_HIGH_SURROGATE
and
#MAX_HIGH_SURROGATE
inclusive;
false
otherwise.
- Attributes
Remarks
Determines if the given char
value is a Unicode high-surrogate code unit (also known as leading-surrogate code unit).
Such values do not represent characters by themselves, but are used in the representation of supplementary characters in the UTF-16 encoding.
Added in 1.5.
Java documentation for java.lang.Character.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.