System.IniFiles.TMemIniFile.Clear

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Clear;

C++

void __fastcall Clear();

Properties

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

Description

Erases all data from the INI file in memory.

Call Clear to erase all data from the INI file that is currently buffered in memory. All sections, keys, and values are erased.

Warning: No exception is generated when using Clear and the data has not been saved to the INI file with the UpdateFile method.

See Also