Freigeben über


CompilerErrorCollection-Konstruktor (CompilerError )

Initialisiert eine neue Instanz der CompilerErrorCollection-Klasse, die das angegebene Array von CompilerError-Objekten enthält.

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

Syntax

'Declaration
Public Sub New ( _
    value As CompilerError() _
)
'Usage
Dim value As CompilerError()

Dim instance As New CompilerErrorCollection(value)
public CompilerErrorCollection (
    CompilerError[] value
)
public:
CompilerErrorCollection (
    array<CompilerError^>^ value
)
public CompilerErrorCollection (
    CompilerError[] value
)
public function CompilerErrorCollection (
    value : CompilerError[]
)

Parameter

  • value
    Ein Array von CompilerError-Objekten, mit denen die Auflistung initialisiert werden soll.

Ausnahmen

Ausnahmetyp Bedingung

ArgumentNullException

value ist NULL (Nothing in Visual Basic).

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