UnicodeCharacters.GetCodepointFromSurrogatePair(UInt32, UInt32) Method

Definition

Returns the supplementary Unicode character for the specified high and low surrogate pair.

public:
 static unsigned int GetCodepointFromSurrogatePair(unsigned int highSurrogate, unsigned int lowSurrogate);
 static uint32_t GetCodepointFromSurrogatePair(uint32_t const& highSurrogate, uint32_t const& lowSurrogate);
public static uint GetCodepointFromSurrogatePair(uint highSurrogate, uint lowSurrogate);
function getCodepointFromSurrogatePair(highSurrogate, lowSurrogate)
Public Shared Function GetCodepointFromSurrogatePair (highSurrogate As UInteger, lowSurrogate As UInteger) As UInteger

Parameters

highSurrogate
UInt32

unsigned int

uint32_t

The high surrogate value. This must be in the proper range: 0xD800 <= highSurrogate <= 0xDBFF.

lowSurrogate
UInt32

unsigned int

uint32_t

The low surrogate value. This must be in the proper range: 0xDC00 <= lowSurrogate <= 0xDFFF.

Returns

UInt32

unsigned int

uint32_t

The supplementary Unicode character.

Applies to

See also