StreamWriter.CurrentEncoding Property

Windows Automotive 5.0/5.5
Gets the Encoding which this StreamWriter currently uses to write output.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)

public virtual Encoding CurrentEncoding { get; }

Property Value

The Encoding that has been set for this StreamWriter in its constructor. The default is UTF8Encoding.

Available in the .NET Micro Framework versions 3.0, 4.0, 4.1, and 4.2.

Community Additions

ADD
Show: