Поделиться через


UnicodeCharacters.GetCodepointFromSurrogatePair(UInt32, UInt32) Метод

Определение

Возвращает дополнительный символ Юникода для указанной высокой и низкой суррогатной пары.

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

Параметры

highSurrogate
UInt32

unsigned int

uint32_t

Высокое суррогатное значение. Он должен находиться в правильном диапазоне: 0xD800 <= highSurrogate<= 0xDBFF.

lowSurrogate
UInt32

unsigned int

uint32_t

Низкое суррогатное значение. Он должен находиться в правильном диапазоне: 0xDC00 <= lowSurrogate<= 0xDFFF.

Возвращаемое значение

UInt32

unsigned int

uint32_t

Дополнительный символ Юникода.

Применяется к

См. также раздел