Compiler.WarningLevel プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
コンパイラの警告レベルを取得します。
public:
property int WarningLevel { int get(); };
[System.Configuration.ConfigurationProperty("warningLevel", DefaultValue=0)]
[System.Configuration.IntegerValidator(MaxValue=4, MinValue=0)]
public int WarningLevel { get; }
[<System.Configuration.ConfigurationProperty("warningLevel", DefaultValue=0)>]
[<System.Configuration.IntegerValidator(MaxValue=4, MinValue=0)>]
member this.WarningLevel : int
Public ReadOnly Property WarningLevel As Integer
プロパティ値
コンパイラの警告レベルを指定する値。
- 属性
注釈
既定のコンパイラの警告レベルを指定します。言語プロバイダーでコンパイル警告をエラーとして扱うレベルを決定します。