XmlPeek.ProhibitDtd Property

Definition

Set to true to prohibit loading XML with embedded DTD and produce error MSB3733 if DTD is present. This was a pre-v15 behavior. By default, a DTD clause if any is ignored.

public:
 property bool ProhibitDtd { bool get(); void set(bool value); };
public bool ProhibitDtd { get; set; }
member this.ProhibitDtd : bool with get, set
Public Property ProhibitDtd As Boolean

Property Value

Applies to