CompilerErrorCollection Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de la classe CompilerErrorCollection.
Surcharges
CompilerErrorCollection() |
Initialise une nouvelle instance de la classe CompilerErrorCollection. |
CompilerErrorCollection(CompilerError[]) |
Initialise une nouvelle instance de CompilerErrorCollection qui contient le tableau spécifié d'objets CompilerError. |
CompilerErrorCollection(CompilerErrorCollection) |
Initialise une nouvelle instance de la classe CompilerErrorCollection qui comprend le contenu de la CompilerErrorCollection spécifiée. |
CompilerErrorCollection()
- 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 = gcnew CompilerErrorCollection;
// 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
Initialise une nouvelle instance de CompilerErrorCollection qui contient le tableau spécifié d'objets CompilerError.
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 à utiliser pour initialiser la collection.
Exceptions
value
a la valeur null
.
S’applique à
CompilerErrorCollection(CompilerErrorCollection)
- Source:
- CompilerErrorCollection.cs
- Source:
- CompilerErrorCollection.cs
- Source:
- CompilerErrorCollection.cs
Initialise une nouvelle instance de la classe CompilerErrorCollection qui comprend le contenu de la CompilerErrorCollection spécifiée.
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 à utiliser pour initialiser la collection.
Exceptions
value
a la valeur null
.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour