DtdProcessing Enumeration


Specifies the options for processing DTDs. The DtdProcessing enumeration is used by the XmlReaderSettings class.

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

Public Enumeration DtdProcessing

Member nameDescription

Causes the DOCTYPE element to be ignored. No DTD processing occurs.


Used for parsing DTDs.


Specifies that when a DTD is encountered, an XmlException is thrown with a message that states that DTDs are prohibited. This is the default behavior.

This enumeration is set on the DtdProcessing property or the DtdProcessing property.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top