XmlWriter.WriteEndDocument Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
When overridden in a derived class, closes any open elements or attributes and puts the writer back in the Start state.
Assembly: System.Xml (in System.Xml.dll)
| Exception | Condition |
|---|---|
| ArgumentException | The XML document is invalid. |
Show:
Note: