Skip to content

TNamedIniCollection

Collection of named collection items.

Declaration

Source position: inicol.pp line 83

type

  TNamedIniCollection = class(TIniCollection)
  public
    function IndexOfUserData : Integer;
    function IndexOfName : Integer;
    function FindByName : TNamedIniCollectionItem;
    function FindByUserData : TNamedIniCollectionItem;
    property NamedItems[Index : Integer]: TNamedIniCollectionItem; {rw}
  end;

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.

Properties

Member Visibility Description
NamedItems public Indexed access to the TNamedIniCollectionItem items.
See all Properties

Methods

Member Visibility Description
FindByName public Return the item based on its name.
FindByUserData public Return the item based on its UserData.
IndexOfName public Search for an item, based on its name, and return its position.
IndexOfUserData public Search for an item based on it's UserData property.
See all Methods

See also

Name Description
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.