save_to_file


Description:

[ Version ( since = "2.40" ) ]
public bool save_to_file (string filename) throws FileError

Writes the contents of this to filename using set_data.

This function can fail for any of the reasons that set_data may fail.

Parameters:

this

a KeyFile

filename

the name of the file to write to

Returns:

true if successful, else false with throws set