Share via


WriteEndDocument (Compact 2013)

3/26/2014

This method closes any open elements or attributes, and 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

This method returns S_OK if no error is generated.

Remarks

See Also

Reference

IXmlWriter Methods
SetOutput
IXmlWriter Properties