public System.bool SaveToStream( System.IO.Stream stream, NEncoding encoding, System.bool addDocumentDeclaration, System.bool indentElements )
Parameters
- stream
- The stream to write to.
- encoding
- The encoding to use.
- addDocumentDeclaration
- Determines whether to add a document declaration at the beginning.
- indentElements
- Determines whether to indent elements or not.
Return Value
True if the operation was successful, otherwise - false.