Mono Class Library: System.Xml.XmlDocument Overview | MembersSystem.Xml.XmlDocument.Save Method |
Writes the entire document into argument System.Xml.XmlWriter. [Edit]
|
- xmlWriter
- An System.Xml.XmlWriter to save the entire document. [Edit]
Saves the entire document into the argument System.Xml.XmlWriter. It internally invokes XmlNode.WriteTo method for each child of the document.
This method does not close argument XmlWriter.
This method does not modify properties of the argument XmlWriter such as XmlTextWriter.Formatting. This method does not write XML declaration if it explicitly exists in this XmlDocument.
Note that this method does not use XmlDeclaration.Encoding property to specify output encoding.
[Edit]
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0