Csc.WarningsNotAsErrors 属性

定义

获取或设置不被视为错误的警告的列表。Gets or sets a list of warnings that are not treated as errors.

此 API 支持产品基础结构,不能在代码中直接使用。

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

属性值

String

不被视为错误的警告的列表。The list of warnings that are not treated as errors.

注解

有关详细信息,请参阅 /warnaserror(C# 编译器选项)For more information, see /warnaserror (C# Compiler Options).

适用于