Share via


UnicodeCharacters.GetSurrogatePairFromCodepoint(UInt32, Char, Char) Method

Definition

Overloads

GetSurrogatePairFromCodepoint(UInt32, Char, Char)

Returns the high and low surrogate pair values for the specified supplementary Unicode character.

GetSurrogatePairFromCodepoint(UInt32, Char, Char)

Returns the high and low surrogate pair values for the specified supplementary Unicode character.

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)

Parameters

codepoint
UInt32

unsigned int

uint32_t

A Unicode character. This must be in the proper range: 0 <= codepoint <= 0x10FFFF.

highSurrogate
Char

char16

char16_t

The high surrogate value returned.

lowSurrogate
Char

char16

char16_t

The low surrogate value returned.

Remarks

See Surrogates and Supplementary Characters for a discussion of supplementary Unicode characters.

See also

Applies to