WriteEndDocument Method
WriteEndDocument is a low-level method that closes the file previously opened by WriteStartDocument() after writing ending tags for all remaining open XML elements, if any.
This method has the following syntax:
integer = XMLDocument.WriteEndDocument()
If the method is successful, it returns ER_OK; otherwise, it returns ER_FAIL. Descriptions of system constant values and their numeric equivalents are listed in
Error Codes.
Last modified date: 06/25/2024