Gets the System.Text.Encoding in which the output is written.
The System.Text.Encoding in which the output is written.
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.StringWriter. This allows XML code to consume an arbitrary System.IO.StringWriter and generate a correct XML header.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0