UnicodeSpecsHelperConvertToUtf32 Method |
Converts the value of a UTF-16 encoded surrogate pair into a Unicode code point.
Namespace:
VDS.RDF.Parsing
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax public static int ConvertToUtf32(
char highSurrogate,
char lowSurrogate
)
Public Shared Function ConvertToUtf32 (
highSurrogate As Char,
lowSurrogate As Char
) As Integer
Parameters
- highSurrogate
- Type: SystemChar
A high surrogate code point (that is, a code point ranging from U+D800 through U+DBFF). - lowSurrogate
- Type: SystemChar
A low surrogate code point (that is, a code point ranging from U+DC00 through U+DFFF).
Return Value
Type:
Int32
The 21-bit Unicode code point represented by the
highSurrogate and
lowSurrogate parameters.
Exceptions Exception | Condition |
---|
ArgumentOutOfRangeException | highSurrogate is not in the range U+D800 through U+DBFF, or lowSurrogate is not in the range U+DC00 through U+DFFF. |
See Also