System.IniFiles.TIniFile.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TIniFile();

Properties

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

Description

Frees the memory associated with the TIniFile object.

Do not call Destroy directly; instead, call Free.

When the destructor is called:

  • On Windows platform, the UpdateFile method saves the content of TIniFile to the associated INI file.
  • On Non-Windows platforms, the TIniFile content is saved to the associated INI file if AutoSave (True by default) and Modified are set to True.

See Also