System.IniFiles.TMemIniFile.Destroy

From RAD Studio API Documentation
Revision as of 13:13, 16 February 2016 by JorgeL (talk | contribs) (Description: RS-73977)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TMemIniFile();

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