company logo

IniFile :: setParentSection - Set parent section as current section

The function changes the current section to the parent section. When the file is an ini-file (and not an XML configuration file), all sections are 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 (  )

When the current section is a top section already, the function returns false and section is not changed. Otherwise, the current section is changed to the parent section.