XmlLoadSettings.ValidateOnParse Property

Definition

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.

Applies to