[Overview][Classes][Index] Reference for unit 'IniFiles' (#fcl)

TIniFileSection

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Ini file section object

Declaration

Source position: inifiles.pp line 98

type TIniFileSection = class

public

  function Empty;

  

Is the section empty

  constructor Create();

  

Create a new section object

  destructor Destroy; override;

  

Free the section object from memory

  property Name: String; [r]

  

Name of the section

  property KeyList: TIniFileKeyList; [r]

  

List of key/value pairs in this section

end;

Inheritance

TIniFileSection

  

Ini file section object

|

TObject

Description

TIniFileSection is a class which represents a section in the .ini, and is used internally by the TIniFile class (one instance of TIniFileSection is created for each section in the file by the TIniFileSectionList list). The name of the section is stored in the Name property, and the key/value pairs in this section are available in the KeyList property.

See also

TIniFileKeyList

  

Key list object

TIniFile

  

Ini file implementation

TIniFileSectionList

  

Section objects list

The latest version of this document can be found at lazarus-ccr.sourceforge.net.