TIniCollectionItem.LoadFromIni¶
Method called when the item must be loaded.
Declaration¶
Source position: inicol.pp line 38
public
procedure TIniCollectionItem.LoadFromIni(Ini: TCustomIniFile;
Section: string); virtual
; abstract;
Description¶
LoadFromIni is called by TIniCollection.LoadFromIni when it saves this item. Descendent classes should override this method to load the data they need to load. All read methods of the TCustomIniFile instance passed in Ini can be used, as long as the reading happens in the section passed in Section.
Errors¶
No checking is done to see whether the values are actually read from the correct section.
See also¶
| Name | Description |
|---|---|
| TIniCollection.LoadFromIni | Load collection from a file in .ini file format. |
| SaveToIni | Method called when the item must be saved. |
| LoadFromFile | Load item from a file. |
| SaveToFile | Save item to a file. |