Share via


ProjectRootElement.Encoding Property

Definition

Encoding that the project file is saved in, or will be saved in, unless otherwise specified.

public:
 property System::Text::Encoding ^ Encoding { System::Text::Encoding ^ get(); };
public System.Text.Encoding Encoding { get; }
member this.Encoding : System.Text.Encoding
Public ReadOnly Property Encoding As Encoding

Property Value

The character encoding that the project file is to be saved in.

Remarks

Returns the encoding from the Xml declaration if any, otherwise UTF8.

Applies to