System.IniFiles.TMemIniFile.AutoSave

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AutoSave: Boolean read FAutoSave write FAutoSave;

C++

__property bool AutoSave = {read=FAutoSave, write=FAutoSave, nodefault};

Properties

Type Visibility Source Unit Parent
property public
System.IniFiles.pas
System.IniFiles.hpp
System.IniFiles TMemIniFile

Description

When the destructor is called, the AutoSave property indicates whether the content of TMemIniFile is automatically saved to the INI file or not.

On destruction, the value of AutoSave determines whether the content of TMemIniFile is automatically saved to the INI file or not. Set AutoSave to True to automatically save the modified content of TMemIniFile to the INI file if the destructor is called.

See Also