UnicodeCharacters.GetSurrogatePairFromCodepoint(UInt32, Char, Char) 方法

定义

返回指定补充 Unicode 字符的高和低代理项对值。

public:
 static void GetSurrogatePairFromCodepoint(unsigned int codepoint, [Out] char16 & highSurrogate, [Out] char16 & lowSurrogate);
 static void GetSurrogatePairFromCodepoint(uint32_t const& codepoint, [Out] char16_t & highSurrogate, [Out] char16_t & lowSurrogate);
public static void GetSurrogatePairFromCodepoint(uint codepoint, out char highSurrogate, out char lowSurrogate);
Public Shared Sub GetSurrogatePairFromCodepoint (codepoint As UInteger, ByRef highSurrogate As Char, ByRef lowSurrogate As Char)

参数

codepoint
UInt32

unsigned int

uint32_t

一个 Unicode 字符。 这必须处于适当的范围内:0 <= codepoint<= 0x10FFFF。

highSurrogate
Char

char16

char16_t

返回的高代理值。

lowSurrogate
Char

char16

char16_t

返回的低代理项值。

注解

有关补充 Unicode 字符的讨论,请参阅 代理项和补充 字符。

适用于

另请参阅