Compartilhar via


UnicodeCharacters.GetCodepointFromSurrogatePair(UInt32, UInt32) Método

Definição

Retorna o caractere Unicode suplementar para o par alternativo alto e baixo especificado.

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

Parâmetros

highSurrogate
UInt32

unsigned int

uint32_t

O valor alternativo alto. Isso deve estar no intervalo adequado: 0xD800 <= highSurrogate<= 0xDBFF.

lowSurrogate
UInt32

unsigned int

uint32_t

O valor alternativo baixo. Isso deve estar no intervalo adequado: 0xDC00 <= lowSurrogate<= 0xDFFF.

Retornos

UInt32

unsigned int

uint32_t

O caractere Unicode suplementar.

Aplica-se a

Confira também