CompilerError.IsWarning 屬性

定義

會取得或設定一個值,指示錯誤是否為警告。

public:
 property bool IsWarning { bool get(); void set(bool value); };
public bool IsWarning { get; set; }
member this.IsWarning : bool with get, set
Public Property IsWarning As Boolean

屬性值

true如果錯誤是警告;否則,。 false

適用於