prjWarningLevel Enumeration

Used by the WarningLevel property to indicate the types of warnings displayed during compilation.

Namespace:  VSLangProj
Assembly:  VSLangProj (in VSLangProj.dll)

Syntax

'Declaration
<GuidAttribute("31DDDF62-1891-4870-8DF5-00D9028826DF")> _
Public Enumeration prjWarningLevel
[GuidAttribute("31DDDF62-1891-4870-8DF5-00D9028826DF")]
public enum prjWarningLevel
[GuidAttribute(L"31DDDF62-1891-4870-8DF5-00D9028826DF")]
public enum class prjWarningLevel
[<GuidAttribute("31DDDF62-1891-4870-8DF5-00D9028826DF")>]
type prjWarningLevel
public enum prjWarningLevel

Members

Member name Description
prjWarningLevel0 Turns off emission of all warning messages.
prjWarningLevel1 Displays severe warning messages.
prjWarningLevel2 C# only. Displays level 1 warnings plus certain less-severe warnings, such as warnings about hiding class members.
prjWarningLevel3 C# only. Displays level 2 warnings plus certain less-severe warnings, such as warnings about expressions that always evaluate to true or false.
prjWarningLevel4 C# only. Displays all level 3 warnings plus informational warnings. This is the default warning level at the command line.

See Also

Reference

VSLangProj Namespace