[Overview][Classes][Procedures and functions][Index] |
Writes the XML content for the configuration file to the specified stream instance.
Source position: laz2_xmlcfg.pas line 107
public procedure TXMLConfig.WriteToStream( |
s: TStream |
); |
s |
|
TStream instance where the XML content in Document is stored in the method. |
WriteToStream is a procedure used to write the XML content for the configuration file to the TStream instance specified in S. WriteToStream checks the Document property to ensure that a valid TXMLDocument instance has been assigned to the member. When Document is unassigned (contains Nil), the CreateConfigNode method is called to allocate a document instance with the required CONFIG document element.
The WriteXMLFile routine in the Laz2_XMLWrite unit is called to store the XML document to the TStream specified in S using the WriteFlags for the class instance.
|
XML document used for the class instance. |
|
|
TXMLWriteFlags for the XML configuration file. |
|
|
Writes an XML document to a file, text file, or stream. |
Version 4.0 | Generated 2025-05-03 | Home |