VerifyXmlChars Method

XmlConvert.VerifyXmlChars Method

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

Verifies if all the characters and surrogate pair characters in the passed in string are valid XML characters.

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

'Declaration
Public Shared Function VerifyXmlChars ( _
	content As String _
) As String

Parameters

content
Type: System.String
The string to validate.

Return Value

Type: System.String
The passed in string instance if all the characters and surrogate pair characters in the string argument are valid XML characters.

For details about allowed characters, see XML 1.0 spec (fourth edition) recommendation, located at http://www.w3.org/TR/2006/REC-xml-20060816/.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft