Save object to string using .ini like format.
string representing the contents of file.
saveToFile, save
See Implementation
Save object to string using .ini like format.