ProjectRootElement.Encoding Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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(); };
C#
public System.Text.Encoding Encoding { get; }
member this.Encoding : System.Text.Encoding
Public ReadOnly Property Encoding As Encoding
The character encoding that the project file is to be saved in.
Returns the encoding from the Xml declaration if any, otherwise UTF8.
製品 | バージョン |
---|---|
MSBuild | 15, 16, 17 |
MSBuild (.NET Core) | 15, 16, 17 |