EasyXmlTextWriter Constructor

Initializes a new instance of the EasyXmlTextWriter class.

Definition

Namespace: DevCase.Core.DataProcessing.Xml
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public EasyXmlTextWriter(
	string filename,
	Encoding enc
)

Parameters

filename  String
The filename to write to.

If the file exists, it truncates it and overwrites it with the new content.

enc  Encoding
The encoding to generate.

If encoding is null it writes the file out as UTF-8, and omits the encoding attribute from the ProcessingInstruction.

See Also