bool CMarkup::Flush();
|
Call Flush
only when the CMarkup object has been opened (Open) in file write mode. See C++ XML writer.
bool bSuccess = xml.Flush();
It returns true
if the file is successfully flushed, or false
if the file was not open or there was a problem flushing it. If there is an error, the error string can be retrieved with GetResult.