ValidateData(String):Void

Validates the indicated Xml against the schema it follows.

This method validates the indicated Xml against the schema that was defined at the root element of the Xml.

If the Xml is not valid then an exception, depending on the error, is triggered from the namespace System.Xml.

Return type: System.Void

Parameter

xmlData

Type: System.String

This parameter is the Xml to be validated.