Effortless File Editing with INIExpert - Streamline Your Configurations

Effortless File Editing with INIExpert - Streamline Your Configurations

Joseph Lv8

Effortless File Editing with INIExpert - Streamline Your Configurations

Table of Contents

Disclaimer: This post includes affiliate links

If you click on a link and make a purchase, I may receive a commission at no extra cost to you.

IIniFile

Using this interface, you can edit an INI file or get, add or delete INI file sections.

Declaration

IIniFile : IDirectoryMember

Properties

  • String Name - Sets or gets the file name.
  • IFolder Directory - Sets or gets the directory in which the file is located.
  • String FullPath - Gets the path of the Advanced Installer project.
  • String Type - Gets the type of the file as a string.

Array Sections - Gets all the INI sections from the file.

Methods

DeleteFile() - This method deletes the INI file from the project. The object on which this method is called is no longer available for editing.

CreateSection(String sectionName) - Creates a new section with the name sectionName and adds it in this file.

DeleteSection(IIniSection section) - Removes the specified INI section from this file. The object on which this method is called is no longer available for editing.

DeleteSectionS(String sectionName) - Removes the INI section named sectionName from this file. The object on which this method is called is no longer available for editing.

FindSection(String sectionName) - Returns an INI section object if the specified section name matches a section inside the current file.

Inifile

Topics

Did you find this page useful?

Please give it a rating:

Thanks!

Report a problem on this page

Information is incorrect or missing

Information is unclear or confusing

Something else

Can you tell us what’s wrong?

Send message

Also read:

  • Title: Effortless File Editing with INIExpert - Streamline Your Configurations
  • Author: Joseph
  • Created at : 2024-11-19 00:18:22
  • Updated at : 2024-11-22 02:51:50
  • Link: https://fox-sure.techidaily.com/effortless-file-editing-with-iniexpert-streamline-your-configurations/
  • License: This work is licensed under CC BY-NC-SA 4.0.
On this page
Effortless File Editing with INIExpert - Streamline Your Configurations