System.Xml.XmlWriter.Create Method

Creates a new System.Xml.XmlWriter instance using the specified filename.

Syntax

public static XmlWriter Create (string outputFileName)

Parameters

outputFileName
The file to which you want to write. The System.Xml.XmlWriter creates a file at the specified path and writes to it in XML 1.0 text syntax. The outputFileName must be a file system path.

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