System.IniFiles.TMemIniFile.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TMemIniFile(void);

Properties

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

Description

Frees the memory associated with the TMemIniFile object.

Do not call Destroy directly; instead call Free.

Warnings:
  • The destructor does not write the current memory image to disk. Be sure to save changes made to TMemIniFile by calling UpdateFile before destroying a TMemIniFile instance.
  • You can set the AutoSave property to True in order to automatically save the content of TMemIniFile before destroying a TMemIniFile instance.

See Also