XmlWriter.WriteEndDocument Method
Silverlight
When overridden in a derived class, closes any open elements or attributes and puts the writer back in the Start state.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
| Exception | Condition |
|---|---|
| ArgumentException | The XML document is invalid. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Note: