[]
        
(Showing Draft Content)

C1.Win.Xml.XmlDocumentExt.LoadFile

LoadFile Method

LoadFile(XmlDocument, string, XmlReaderSettings)

Loads the XML document from the specified URL.

Declaration
public static void LoadFile(this XmlDocument document, string fileName, XmlReaderSettings settings = null)
Public Shared Sub LoadFile(document As XmlDocument, fileName As String, Optional settings As XmlReaderSettings = Nothing)
Parameters
Type Name Description
XmlDocument document

The XmlDocument instance to populate with the XML data.

string fileName

The path or URL of the XML file to load. The file must exist and contain well-formed XML.

XmlReaderSettings settings

Optional XmlReaderSettings that specify how the XML is read, such as validation, whitespace handling, or security settings. If null, the default settings are used.