Sign in Join
FPDoc Onlineexperiment

TXMLConfig.CreateWithSource constructor

Member of TXMLConfigpublicIn unit Laz2_XMLCfg

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

Declaration

pascal
constructor 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.