Difference between revisions of "TIniFile.CacheUpdates"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with " '''property CacheUpdates: Boolean''' Access mode: RW ==Description== CacheUpdates determines how to deal with changes to the ini-file data: if se...")
(No difference)

Revision as of 21:59, 16 June 2018

property CacheUpdates: Boolean
 Access mode: RW

Description

CacheUpdates determines how to deal with changes to the ini-file data: if set to True then changes are kept in memory till the file is written to disk with a call to UpdateFile. If it is set to False then each call that changes the data of the ini-file will result in a call to UpdateFile. This is the default behaviour, but it may aversely affect performance.