Mono Class Library: System.Xml.XmlDocument Overview | MembersSystem.Xml.XmlDocument.Save Method |
Writes the entire document into argument System.IO.Stream. [Edit]
|
- outStream
- A System.IO.Stream object to save the entire document. It must be writable. [Edit]
Writes the entire document into argument Steram. This method internally creates an XmlWriter instance considering XmlDeclaration.Encoding property, and invokes XmlDocument.Save(XmlWriter) method.
This method does not close the argument Steram.
With this method, the output XML is indented.
The output XML might contain XML declaration, in the same way as System.Xml.XmlTextWriter does, if it is required.
[Edit]
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0