System.Win.Registry.TRegistryIniFile.EraseSection

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure EraseSection(const Section: string); override;

C++

virtual void __fastcall EraseSection(const System::UnicodeString Section);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Win.Registry.pas
System.Win.Registry.hpp
System.Win.Registry TRegistryIniFile

Description

Erases an entire section of an INI file.

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.

See Also