RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRegistryIniFile.EraseSection Method

Erases an entire section of an INI file.

Pascal
procedure EraseSection(const Section: string); override;
C++
virtual __fastcall EraseSection(const AnsiString Section);

Call EraseSection to remove a section, all its keys, and their data values from an INI file. Section identifies the INI file section to remove. If a section cannot be removed, an exception is raised. 

 

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