Share via


CompilerErrorCollection.HasWarnings 屬性

定義

取得值,表示集合是否含有警告。

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

屬性值

如果集合含有警告,則為 true,否則為 false

適用於