Contains settings that are used during loading and parsing of XML documents. The default settings are chosen for the highest security. This class can be instantiated and is accepted by LoadXml, LoadFromUriAsync, and LoadFromFileAsync.
The XmlLoadSettings class has these types of members:
The XmlLoadSettings class has these constructors.
|XmlLoadSettings||Creates a new XmlLoadSettings object.|
The XmlLoadSettings class inherits methods from the Object class (C#/VB/C++).
The XmlLoadSettings class has these properties.
|Read/write||Specifies whether default handling preserves white space.|
|Read/write||Gets and sets the limits of the element depth of an XML document to be loaded into a DOM object.|
|Read/write||Gets or sets a value that specifies whether to prohibit or allow the inclusion of a DTD in the XML DOM document.|
|Read/write||Gets or sets a value that specifies whether external definitions, resolvable namespaces, external subsets of document type definitions (DTDs), and external entity references are to be resolved at the time the document is parsed.|
|Read/write||Gets or sets a value that specifies whether the XML parser should validate this document against the document type definition (DTD) on loading.|
Minimum supported client
|Windows 8 [Windows Store apps only]|
Minimum supported server
|Windows Server 2012 [Windows Store apps only]|
Build date: 11/16/2013