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

TNamedIniCollectionItem

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

TIniCollectionItem with a name property

Declaration

Source position: inicol.pp line 47

type TNamedIniCollectionItem = class(TIniCollectionItem)

protected

  FName: String;

  FUserData: TObject;

  procedure SetCollection(); override;

  function GetSectionName; override;

  procedure SetSectionName(); override;

public

  property UserData: TObject; [rw]

  

User-defined data

published

  property Name: String; [rw]

  

Name of the item

end;

Inheritance

TNamedIniCollectionItem

  

TIniCollectionItem with a name property

|

TIniCollectionItem

  

Collection item with support for loading/saving from/to ini file

|

TCollectionItem

|

TPersistent

|

TObject

Description

TNamedIniCollectionItem is a TIniCollectionItem descent with a published name property. The name is used as the section name when saving the item to the ini file.

See also

TIniCollectionItem

  

Collection item with support for loading/saving from/to ini file

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