[]
Loads the XML document from the specified TextReader.
public static void LoadTextReader(this XmlDocument document, TextReader textReader, XmlReaderSettings settings = null)
Public Shared Sub LoadTextReader(document As XmlDocument, textReader As TextReader, Optional settings As XmlReaderSettings = Nothing)
| Type | Name | Description |
|---|---|---|
| XmlDocument | document | The XmlDocument instance to populate with the XML data. |
| TextReader | textReader | The TextReader providing the XML content to load. The reader must contain well-formed XML. |
| XmlReaderSettings | settings | Optional XmlReaderSettings that specify how the XML is read, such as validation,
whitespace handling, or security settings. If |