company logo

IniFile :: copyOption - Copy option value to configuration file

The function allows saving current application settings to the configuration file.

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  :: copyOption ( odaba::String &sName )

The function takes the option value set for the option passed in sName and copies it to the configuration file. Option name and option value as being set in the application are added to the configuration file. When the option has not yet been set, the option name with an empty value is added.

  • sName - Name