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

TXMLConfig.IsLegacyList

Indicates if the specified list was written using the format from a previous LazUtils version.

Declaration

Source position: laz2_xmlcfg.pas line 144

public function TXMLConfig.IsLegacyList(

  const APath: string

):Boolean;

Arguments

APath

  

Path the values examined in the method.

Function result

True when the path includes a Count value.

Description

In a previous LazUtils version, a Count value was written to indicate the number of items in the list. The return value is True if an entry named "Count" is found in APath with a value other than -1.


Version 4.0 Generated 2025-05-03 Home