System.Xml.XmlWriter.Create Method

Creates a new System.Xml.XmlWriter instance using the specified System.IO.TextWriter.

Syntax

public static XmlWriter Create (System.IO.TextWriter output)

Parameters

output
The System.IO.TextWriter to which you want to write. The System.Xml.XmlWriter writes XML 1.0 text syntax and appends it to the specified System.IO.TextWriter.

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