ConfigFile.setValue

Assigns a value to the specified key of the specified section. If the section and/or the key do not exist, they are created. Passing a null value deletes the specified key if it exists, and deletes the section if it ends up empty once the key has been removed.

struct ConfigFile
@nogc nothrow
void
setValue
(
StringArg0
StringArg1
VariantArg2
)
(
in StringArg0 section
,
in StringArg1 key
,
in VariantArg2 value
)

Meta