Method CreateWriter
CreateWriter(StringBuilder, XmlWriterSettings?)
Creates XmlWriter using the specified StringBuilder and optional XmlWriterSettings.
public static XmlWriter CreateWriter(StringBuilder builder, XmlWriterSettings? settings = null)
Parameters
builder
StringBuilderStringBuilder object.
settings
XmlWriterSettingsSettings.