Freigeben über


CompilerErrorCollection.HasErrors-Eigenschaft

Ruft einen Wert ab, der angibt, ob die Auflistung Fehler enthält.

Namespace: System.CodeDom.Compiler
Assembly: System (in system.dll)

Syntax

'Declaration
Public ReadOnly Property HasErrors As Boolean
'Usage
Dim instance As CompilerErrorCollection
Dim value As Boolean

value = instance.HasErrors
public bool HasErrors { get; }
public:
property bool HasErrors {
    bool get ();
}
/** @property */
public boolean get_HasErrors ()
public function get HasErrors () : boolean

Eigenschaftenwert

true, wenn die Auflistung Fehler enthält, andernfalls false.

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

CompilerErrorCollection-Klasse
CompilerErrorCollection-Member
System.CodeDom.Compiler-Namespace