The DTD validator.
Note: This validator needs to be disposed explicitly if the DTD is not owned by a document.
Dispose the XmlDtd object.
To avoid resource leaks, explicitly call the Dispose method or use the using declaration to declare the object.
Dispose
using
dispose
Alias of [dispose].
[dispose]
Validate the XmlDocument.
The XmlDocument to be validated.
an XmlValidateError if the document is invalid.
The DTD validator.
Note: This validator needs to be disposed explicitly if the DTD is not owned by a document.
See