UnicodeCharacters.GetSurrogatePairFromCodepoint(UInt32, Char, Char) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會傳回指定之增補 Unicode 字元的高和低 Surrogate 字組值。
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
傳回的高 Surrogate 值。
- lowSurrogate
-
Char
char16
char16_t
傳回的低 Surrogate 值。
備註
如需補充 Unicode 字元的討論,請參閱 Surrogates 和增補字元 。