Method Save
Save(StringBuilder, Stream)
Saves StringBuilder to the specified stream using UTF8 format.
public static void Save(StringBuilder builder, Stream stream)
Parameters
builder
StringBuilderStringBuilder object.
stream
StreamOutput stream.
Save(XmlDocument, Stream, XmlWriterSettings?)
Saves xml document to stream using the specified settings.
public static void Save(XmlDocument document, Stream stream, XmlWriterSettings? settings = null)
Parameters
document
XmlDocumentXml document.
stream
StreamOutput stream.
settings
XmlWriterSettingsSave settings. Optional.