Mono Class Library: System.IO.TextWriter Overview | Members

System.IO.TextWriter.Encoding Property

Gets the System.Text.Encoding in which the output is written. [Edit]

public abstract System.Text.Encoding Encoding { get; }

Value

The System.Text.Encoding in which the output is written. [Edit]

Remarks

Operation
As described above.

Usage
This property is required in some XML scenarios where a header must be written containing the encoding used by the System.IO.TextWriter. This allows XML code to consume an arbitrary System.IO.TextWriter and generate a correct XML header.

[Edit]

Requirements

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0