UnicodeCharacters.GetCodepointFromSurrogatePair(UInt32, UInt32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回指定的高代理项和低代理项对的补充 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
高代理项值。 这必须在适当的范围内:0xD800 <= highSurrogate<= 0xDBFF。
- lowSurrogate
-
UInt32
unsigned int
uint32_t
低代理项值。 这必须在适当的范围内:0xDC00 <= lowSurrogate<= 0xDFFF。
返回
补充 Unicode 字符。