IsXmlSurrogatePair Method

XmlConvert.IsXmlSurrogatePair Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

'Declaration
Public Shared Function IsXmlSurrogatePair ( _
	lowChar As Char, _
	highChar As Char _
) As Boolean

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft