XmlConvert::IsXmlSurrogatePair Method (Char, Char)

 

Checks if the passed-in surrogate pair of characters is a valid XML character.

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

public:
static bool IsXmlSurrogatePair(
	wchar_t lowChar,
	wchar_t highChar
)

Parameters

lowChar
Type: System::Char

The surrogate character to validate.

highChar
Type: System::Char

The surrogate character to validate.

Return Value

Type: System::Boolean

true if the passed in surrogate pair of characters is a valid XML character; otherwise false.

.NET Framework
Available since 4.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: