WriteEndDocument

 

Closes any open elements or attributes, then closes the current document. To reinitialize the writer so that a new document can be written, you must call SetOutput.

  
HRESULT WriteEndDocument ();  

Returns S_OK if no error is generated.

For an example of the WriteEndDocument method, see Write an XML Document using XmlLite.

Header: XmlLite.h

Library: XmlLite.lib

IXmlWriter Methods

Show: