Compartir a través de


Csc.WarningsAsErrors Property

Definition

Gets or sets a list of warnings to treat as errors.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Property Value

The list of warnings to treat as errors.

Remarks

For more information, see /warnaserror (C# Compiler Options).

Applies to