Compiler::WarningLevel Property

 

Gets the compiler warning level.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

public:
[ConfigurationPropertyAttribute("warningLevel", DefaultValue = 0)]
[IntegerValidatorAttribute(MinValue = 0, MaxValue = 4)]
property int WarningLevel {
	int get();
}

Property Value

Type: System::Int32

A value specifying the compiler warning level.

Specifies the default compiler warning level; determines the level at which the language provider treats compilation warnings as errors.

.NET Framework
Available since 2.0
Return to top
Show: