Επεξεργασία

Κοινή χρήση μέσω


XmlTextReader.DtdProcessing Property

Definition

Gets or sets the DtdProcessing enumeration.

public:
 property System::Xml::DtdProcessing DtdProcessing { System::Xml::DtdProcessing get(); void set(System::Xml::DtdProcessing value); };
public System.Xml.DtdProcessing DtdProcessing { get; set; }
member this.DtdProcessing : System.Xml.DtdProcessing with get, set
Public Property DtdProcessing As DtdProcessing

Property Value

The DtdProcessing enumeration.

Remarks

The DtdProcessing enumeration contains the Prohibit, Ignore, and Parse enumerators. Parse is the default behavior. The DtdProcessing property replaces the ProhibitDTD property and adds the ability to ignore the DOCTYPE element.

Important

If the DtdProcessing property is set to DtdProcessing.Ignore, the XmlTextReader will not report the DTDs. This means that the DTD/DOCTYPE will be lost on output.

Applies to