company logo

IniFile :: setParentSection - Set parent section as current section

When the current section is a top section already, the function returns false and section is not changed. When the file is an ini-file (and not an XML configuration file), sections are always top sections.

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false .

Implementation details

bool IniFile  :: setParentSection (  )