System.Xml.XmlWriter.Create Method

Creates a new System.Xml.XmlWriter instance using the specified System.Text.StringBuilder.

Syntax

public static XmlWriter Create (System.Text.StringBuilder output)

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.

Returns

An System.Xml.XmlWriter object.

Remarks

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