XmlLoadSettings.ValidateOnParse Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that specifies whether the XML parser should validate this document against the document type definition (DTD) on loading.
public:
property bool ValidateOnParse { bool get(); void set(bool value); };
bool ValidateOnParse();
void ValidateOnParse(bool value);
public bool ValidateOnParse { get; set; }
var boolean = xmlLoadSettings.validateOnParse;
xmlLoadSettings.validateOnParse = boolean;
Public Property ValidateOnParse As Boolean
Property Value
Boolean
bool
If true, the internal or external DTD will be used to validate the document. The default value is false.