delete_group


Description:

[ Version ( since = "4.2" ) ]
public void delete_group (string group, bool global)

If this is a simple config object and group exists, it is deleted.

All entries within group will be deleted. For simple config objects, global is ignored.

If this is a complex config object and group exists, it will be deleted will all entries. If global is true, the entry will be marked as deleted globally, therefore all calls to read_entry and related functions will return the fallback values. If global is false, the group will be deleted in the per-user config file, and further calls to read_entry will most probably return the system-wide config entries.

Parameters:

this

an Rc object.

group

name of the group to delete.

global

whether to delete the group globally.