CompilerErrorCollection.HasErrors Property    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether the collection contains errors.
public:
 property bool HasErrors { bool get(); };public bool HasErrors { get; }member this.HasErrors : boolPublic ReadOnly Property HasErrors As BooleanProperty Value
true if the collection contains errors; otherwise, false.