Unit 'inicol' Package
[Overview][Constants][Classes][Index] [#fcl]

TNamedIniCollection

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

Collection of named collection items.

Declaration

Source position: inicol.pp line 83

type TNamedIniCollection = class(TIniCollection)

public

  function IndexOfUserData();

  

Search for an item based on it's UserData property.

  function IndexOfName();

  

Search for an item, based on its name, and return its position.

  function FindByName();

  

Return the item based on its name.

  function FindByUserData();

  

Return the item based on its UserData.

  property NamedItems []: TNamedIniCollectionItem; default; [rw]

  

Indexed access to the TNamedIniCollectionItem items.

end;

Inheritance

TNamedIniCollection

  

Collection of named collection items.

|

TIniCollection

  

Collection which can write itself to an .ini file.

|

TCollection

|

TPersistent

|

TObject,IFPObserved

Description

TNamedIniCollection is the collection to go with the TNamedIniCollectionItem item class. it provides some functions to look for items based on the UserData or based on the Name.

See also

TNamedIniCollectionItem

  

TIniCollectionItem with a name property.

IndexOfUserData

  

Search for an item based on it's UserData property.

IndexOfName

  

Search for an item, based on its name, and return its position.


Documentation generated on: Dec 26 2024