## XmlTextWriter::WriteEndDocument method


Closes any open elements or attributes and puts the writer back in the Start state.

```cpp
void System::Xml::XmlTextWriter::WriteEndDocument() override
```


## See Also

* Class [XmlTextWriter](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PUB for C++](../../../)
