CompilerError.IsWarning Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets a value that indicates whether the error is a warning.

Namespace:   System.CodeDom.Compiler
Assembly:  System (in System.dll)

public bool IsWarning { get; set; }

Property Value

Type: System.Boolean

true if the error is a warning; otherwise, false.

.NET Framework
Available since 1.1
Return to top