Bridge

Char..::..IsSurrogatePair Method (Char, Char)

Indicates whether the two specified Char objects form a surrogate pair.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public static bool IsSurrogatePair(
	char ch1,
	char ch2
)
<TemplateAttribute> _
Public Shared Function IsSurrogatePair ( _
	ch1 As Char, _
	ch2 As Char _
) As Boolean
[TemplateAttribute]
public:
static bool^ IsSurrogatePair(
	wchar_t^ ch1, 
	wchar_t^ ch2
)

Parameters

ch1
Type: System..::..Char
ch2
Type: System..::..Char

Return Value

true if the numeric value of the highSurrogate parameter ranges from U+D800 through U+DBFF, and the numeric value of the lowSurrogate parameter ranges from U+DC00 through U+DFFF; otherwise, false.