ISDBIniFile::Flush

From MediaMonkey Wiki
Jump to navigation Jump to search

CoClass SDBIniFile, Interface ISDBIniFile

Sub Flush


Method description

Saves all changes made to the ini file to disk. This is automatically done by MediaMonkey when all instances of the ini file (i.e. in all scripts!) are destroyed. You can call this for additional safety, when needed.

Introduced in MediaMonkey 3.1.0.1214.

Example code

One may wish to use code such as the following VBS script code to avoid the Flush command being executed on versions prior to MediaMonkey build 1214:

If SDB.VersionBuild >= 1214 Then myIniFile.Flush

(change myIniFile to whatever else of course)