Sdílet prostřednictvím


Diagnostic.IsWarningAsError Property

Definition

Returns true if this is a warning treated as an error; otherwise false.

public:
 property bool IsWarningAsError { bool get(); };
public bool IsWarningAsError { get; }
member this.IsWarningAsError : bool
Public ReadOnly Property IsWarningAsError As Boolean

Property Value

Remarks

True implies DefaultSeverity = Warning and Severity = Error.

Applies to