DtdProcessing Enumeration
.NET Framework (current version)
Specifies the options for processing DTDs. The DtdProcessing enumeration is used by the XmlReaderSettings class.
Assembly: System.Xml (in System.Xml.dll)
| Member name | Description | |
|---|---|---|
| Ignore | Causes the DOCTYPE element to be ignored. No DTD processing occurs. | |
| Parse | Used for parsing DTDs. | |
| Prohibit | 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
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Show: