Share via


WriteEndDocument (Compact 7)

3/12/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