次の方法で共有


CompilerError.IsWarning プロパティ

エラーが警告かどうかを示す値を取得または設定します。

Public Property IsWarning As Boolean
[C#]
public bool IsWarning {get; set;}
[C++]
public: __property bool get_IsWarning();public: __property void set_IsWarning(bool);
[JScript]
public function get IsWarning() : Boolean;public function set IsWarning(Boolean);

プロパティ値

エラーが警告である場合は true 。それ以外の場合は false

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

CompilerError クラス | CompilerError メンバ | System.CodeDom.Compiler 名前空間