[]
        
(Showing Draft Content)

C1.Win.Xml.XmlDocumentExt.LoadStream

LoadStream Method

LoadStream(XmlDocument, Stream, XmlReaderSettings)

Loads the XML document from the specified Stream.

Declaration
public static void LoadStream(this XmlDocument document, Stream stream, XmlReaderSettings settings = null)
Public Shared Sub LoadStream(document As XmlDocument, stream As Stream, Optional settings As XmlReaderSettings = Nothing)
Parameters
Type Name Description
XmlDocument document

The XmlDocument instance to populate with the XML data.

Stream stream

The input Stream containing the XML content to load.

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.