ibec_ini_EraseSection

Erases an entire section of an INI file.

Syntax

 function ibec_ini_EraseSection(IniFile : variant; Section : string) : variant;

Description

Call ibec_ini_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. ibec_ini_EraseSection only affects the in-memory copy of the INI file, not the copy on disk.

<< ibec_ini_Clear | IBEBlock | ibec_ini_UpdateFile >>