Freigeben über


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.

Syntax

  
HRESULT WriteEndDocument ();  

Return Value

Returns S_OK if no error is generated.

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

Requirements

Header: XmlLite.h

Library: XmlLite.lib

See Also

IXmlWriter Methods