[]
Loads the XML document from the specified URL.
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)
| 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 |