TXMLConfig.Create constructor
Constructor for the class instance.
Declaration
constructor Create(AOwner: TComponent); override; overload
constructor Create(const AFilename: string); overloadArguments
AOwner | Owner of the class instance. |
AFilename | File with the XML content loaded in the class instance. |
Description
Create is the overloaded, overridden constructor for the class
instance.
Calling Create with the AFilename argument causes the XML content
in the specified Filename to be loaded into the class instance.
The variant that specifies an owner simply sets the default values in
ReadFlags, WriteFlags, and its internal format settings.
Alternate constructors, like CreateClean and
CreateWithSource, are provided to create an empty XML
configuration file or to load its content from a String variable.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
