System.Xml.XmlWriter.Create Method

Creates a new System.Xml.XmlWriter instance using the System.IO.TextWriter and System.Xml.XmlWriterSettings objects.

Syntax

public static XmlWriter Create (System.IO.TextWriter output, XmlWriterSettings settings)

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.
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