Flush Method
Flushes the parser and checks its end state.
Syntax
void __fastcall Flush();Remarks
When Flush is called, the parser flushes all its buffers, firing events as necessary, and then checks its end state. If Validate is true, the parser verifies that all open elements were closed, returning an error if not.