to_data


Description:

public string to_data (out size_t length = null, out Error error = null)

This function outputs this as a string.

Note that this function never reports an error, so it is safe to pass null as error.

Parameters:

this

a KeyFile

length

return location for the length of the returned string, or null

Returns:

a newly allocated string holding the contents of the KeyFile