CMarkup Flush Method

bool CMarkup::Flush();

CMarkup Developer License

Flush is only in CMarkup Developer and the free XML editor  FOAL C++ scripting.

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.