RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMemIniFile.Clear Method

Erases all data from the INI file in memory.

Pascal
procedure Clear;
C++
__fastcall Clear();

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.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!