CompilerErrorCollection.HasErrors 屬性

定義

取得值,表示集合是否含有錯誤。

public:
 property bool HasErrors { bool get(); };
public bool HasErrors { get; }
member this.HasErrors : bool
Public ReadOnly Property HasErrors As Boolean

屬性值

如果集合含有錯誤,則為 true,否則為 false

適用於