FileLogTraceListener::Encoding Property

 

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

Namespace:   Microsoft.VisualBasic.Logging
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

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

Property Value

Type: System.Text::Encoding^

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

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

.NET Framework
Available since 2.0
Return to top
Show: