FileAppender Encoding Property | Apache log4net™ SDK Documentation

Gets or sets Encoding used to write to the file.

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public Encoding Encoding { get; set; }

    Public Property Encoding As Encoding
    	Get
    	Set

    public:
    property Encoding^ Encoding {
    	Encoding^ get ();
    	void set (Encoding^ value);
    }

    member Encoding : Encoding with get, set

#### Property Value

Type: Encoding
The Encoding used to write to the file.
Remarks

The default encoding set is Default which is the encoding for the system's current ANSI code page.

See Also

#### Reference

FileAppender Class
log4net.Appender Namespace