DeleteSection - cIniFile
Deletes an entire Section from an INI file
Type: Procedure
Parameters
| Parameter | Type | Description |
|---|---|---|
| sSection | String | The name of the Section to delete |
Syntax
Procedure DeleteSection String sSection
Call Example
Send DeleteSection sSection
Description
Use the DeleteSection method to delete a Section and all its Keys from an INI file.
Before deleting a Section, set the psFileName property to the name of the INI file.
To test whether a Section exists, use the SectionExists method.