共用方式為


UnicodeCharacters.GetCodepointFromSurrogatePair(UInt32, UInt32) 方法

定義

傳回指定之高與低 Surrogate 字組的增補 Unicode 字元。

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

高 Surrogate 值。 這必須位於適當的範圍內:0xD800 < = highSurrogate< = 0xDBFF。

lowSurrogate
UInt32

unsigned int

uint32_t

低 Surrogate 值。 這必須位於適當的範圍內:0xDC00 < = lowSurrogate< = 0xDFFF。

傳回

UInt32

unsigned int

uint32_t

補充 Unicode 字元。

適用於

另請參閱