System.Xml.XmlWriter.Create Method

Creates a new System.Xml.XmlWriter instance using the System.Text.StringBuilder and System.Xml.XmlWriterSettings objects.

Syntax

public static XmlWriter Create (System.Text.StringBuilder output, XmlWriterSettings settings)

Parameters

output
The System.Text.StringBuilder to which to write to. Content written by the System.Xml.XmlWriter is appended to the System.Text.StringBuilder.
settings
The System.Xml.XmlWriterSettings object used to configure the new System.Xml.XmlWriter instance. If this is null, a System.Xml.XmlWriterSettings with default settings is used.

Returns

An System.Xml.XmlWriter object.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0