[Overview][Classes][Procedures and functions][Index] Reference for unit 'Laz2_XMLCfg' (#lazutils)

TXMLConfig.CreateWithSource

Alternate constructor used to create the class using the XML content specified in Source.

Declaration

Source position: laz2_xmlcfg.pas line 102

public constructor TXMLConfig.CreateWithSource(

  const AFilename: string;

  const Source: string

);

Arguments

AFilename

  

File name where XML configuration data will be stored.

Source

  

String with the XML content loaded in the class instance.

Description

CreateWithSource is an alternate constructor used to create the class instance and load the XML content specified in the Source argument. CreateWithSource sets an internal member used for the XML content in Source. CreateWithSource calls the CreateClean method to initialize the class instance.

See also

TXMLConfig.CreateClean

  

Alternate constructor used to create the class without reading existing XML content in the specified file.


Version 4.0 Generated 2025-05-03 Home