flush Method
Flushes the object's internal buffer to its destination IStream/string. This flushing occurs when one of the following conditions is met:
- The
outputproperty is set to a destination. - The
endDocument()event is called. - The
flush()method is called.
Usage Syntax
oMXXMLWriter.flush
Remarks
Avoid handling the underlying IStream object during output (for example, direct writing). When using the flush method, the exact position within the generated document is not generally known. If the flush method is called, all output that has been processed is put into the underlying IStream/ISequentialStream object.
Syntax
HRESULT flush ( );
Return Values
S_OK
Remarks
Avoid handling the underlying IStream object during output (for example, direct writing). When using the flush method, the exact position within the generated document is not generally known. If the flush method interrupts MXXMLWriter output, all output that has been processed is put into the underlying IStream/ISequentialStream object.
To view reference material for Visual Basic or C++ only, click the Language Filter button
in the upper-left corner of the page.
See Also
Applies to: MXXMLWriter CoClass
