IIniSection

Using this interface, you can edit an INI section or get, add or delete INI entries. All actions that are stored as entries in a section are resolved at install time.

Declaration

IIniSection : IDispatch

Properties

String Name - Gets or sets INI sections from the INI file.

Array<IIniEntry> Entries - Gets an array of IIniEntries

Methods

CreateIfNotExist(String key, String value) - Creates a new INI entry only if the key does not exist.

CreateOrUpdate(String key, String value) - Creates INI entry if the key doesn’t exist or updates a value if it already exists.

CreateOrAppendCommaSeparated(String key, String value) - Creates INI entry if doesn’t exist with the specified value or updates it’s value by appending the specified value.

CreateEntryRemoval(String key) - Adds the action to remove an existing entry with specified key.

CreateTagRemoval(String key, String tag) - Removes specified value from existing entry: [Example] Key1=Value1; Value2; Value3 -> RemoveTag(\"key1\", \"Value2\") -> Key1 = Value1; Value3]

DeleteEntry(IIniEntry entry) - Deletes entry.

Iinisection

See also

IAdvinstProject

IIniFilesComponent

IIniEntry

IIniFile

Topics