Muokkaa

Jaa


FileLogTraceListener.Encoding Property

Definition

Gets or sets the encoding to use when creating a new log file.

public:
 property System::Text::Encoding ^ Encoding { System::Text::Encoding ^ get(); void set(System::Text::Encoding ^ value); };
public System.Text.Encoding Encoding { get; set; }
member this.Encoding : System.Text.Encoding with get, set
Public Property Encoding As Encoding

Property Value

Encoding, which is the encoding to use when creating a new log file. The default value of this property is UTF8Encoding.

Remarks

When appending text to an existing log file, the encoding for that file is used instead of the encoding specified by the Encoding property.

Applies to

See also