Click or drag to resize

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
)

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
ExceptionCondition
ArgumentOutOfRangeExceptionhighSurrogate is not in the range U+D800 through U+DBFF, or lowSurrogate is not in the range U+DC00 through U+DFFF.
See Also