CompilerErrorCollection Constructeurs

Définition

Initialise une nouvelle instance de la classe CompilerErrorCollection.

Surcharges

Nom Description
CompilerErrorCollection()

Initialise une nouvelle instance de la classe CompilerErrorCollection.

CompilerErrorCollection(CompilerError[])

Initialise une nouvelle instance de CompilerErrorCollection ce qui contient le tableau d’objets CompilerError spécifié.

CompilerErrorCollection(CompilerErrorCollection)

Initialise une nouvelle instance de la CompilerErrorCollection classe qui contient le contenu du fichier spécifié CompilerErrorCollection.

CompilerErrorCollection()

Source:
CompilerErrorCollection.cs
Source:
CompilerErrorCollection.cs
Source:
CompilerErrorCollection.cs
Source:
CompilerErrorCollection.cs
Source:
CompilerErrorCollection.cs
Source:
CompilerErrorCollection.cs
Source:
CompilerErrorCollection.cs

Initialise une nouvelle instance de la classe CompilerErrorCollection.

public:
 CompilerErrorCollection();
public CompilerErrorCollection();
Public Sub New ()

Exemples

L’exemple suivant montre comment créer une instance vide de la CompilerErrorCollection classe.

// Creates an empty CompilerErrorCollection.
CompilerErrorCollection collection = new CompilerErrorCollection();
' Creates an empty CompilerErrorCollection.
Dim collection As New CompilerErrorCollection()

S’applique à

CompilerErrorCollection(CompilerError[])

Source:
CompilerErrorCollection.cs
Source:
CompilerErrorCollection.cs
Source:
CompilerErrorCollection.cs
Source:
CompilerErrorCollection.cs
Source:
CompilerErrorCollection.cs
Source:
CompilerErrorCollection.cs
Source:
CompilerErrorCollection.cs

Initialise une nouvelle instance de CompilerErrorCollection ce qui contient le tableau d’objets CompilerError spécifié.

public:
 CompilerErrorCollection(cli::array <System::CodeDom::Compiler::CompilerError ^> ^ value);
public CompilerErrorCollection(System.CodeDom.Compiler.CompilerError[] value);
new System.CodeDom.Compiler.CompilerErrorCollection : System.CodeDom.Compiler.CompilerError[] -> System.CodeDom.Compiler.CompilerErrorCollection
Public Sub New (value As CompilerError())

Paramètres

value
CompilerError[]

Tableau d’objets CompilerError avec lequel initialiser la collection.

Exceptions

value a la valeur null.

S’applique à

CompilerErrorCollection(CompilerErrorCollection)

Source:
CompilerErrorCollection.cs
Source:
CompilerErrorCollection.cs
Source:
CompilerErrorCollection.cs
Source:
CompilerErrorCollection.cs
Source:
CompilerErrorCollection.cs
Source:
CompilerErrorCollection.cs
Source:
CompilerErrorCollection.cs

Initialise une nouvelle instance de la CompilerErrorCollection classe qui contient le contenu du fichier spécifié CompilerErrorCollection.

public:
 CompilerErrorCollection(System::CodeDom::Compiler::CompilerErrorCollection ^ value);
public CompilerErrorCollection(System.CodeDom.Compiler.CompilerErrorCollection value);
new System.CodeDom.Compiler.CompilerErrorCollection : System.CodeDom.Compiler.CompilerErrorCollection -> System.CodeDom.Compiler.CompilerErrorCollection
Public Sub New (value As CompilerErrorCollection)

Paramètres

value
CompilerErrorCollection

Objet CompilerErrorCollection avec lequel initialiser la collection.

Exceptions

value a la valeur null.

S’applique à