xtd 0.2.0
Loading...
Searching...
No Matches

◆ bottom_file_comment() [2/2]

file_settings & xtd::configuration::file_settings::bottom_file_comment ( const xtd::string value)
noexcept

Sets bottom file comment text.

Parameters
valueBottom file comment text.
Returns
This current instance.
Examples
The following example shows how to create xtd::configuration::file_settings and use xtd::configuration::file_settings::bottom_file_comment property, xtd::configuration::file_settings::write and xtd::configuration::file_settings::save_as methods.
auto file = file_settings {};
file.bottom_file_comment("Modifications must be made with care, as they may result in incorrect behavior.");
file.write("pictures \"Menu\"", "file_open", "resources/symbolic_open.png");
file.write("pictures \"Menu\"", "file_save", "resources/symbolic_save.png");
file.save_as("my_app.ini");
xtd::string bottom_file_comment() const noexcept
Gets bottom file comment text.
Represents an object for storing and retrieving configuration information using text files in INI for...
Definition file_settings.h:32
my_app.ini:
[pictures "Menu"]
file_open = resources/symbolic_open.png
file_save = resources/symbolic_save.png
# Modifications must be made with care, as they may result in incorrect behavior.