CompilerResults.Errors 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 the collection of compiler errors and warnings.
public:
property System::CodeDom::Compiler::CompilerErrorCollection ^ Errors { System::CodeDom::Compiler::CompilerErrorCollection ^ get(); };
public System.CodeDom.Compiler.CompilerErrorCollection Errors { get; }
member this.Errors : System.CodeDom.Compiler.CompilerErrorCollection
Public ReadOnly Property Errors As CompilerErrorCollection
Property Value
A CompilerErrorCollection that indicates the errors and warnings resulting from compilation, if any.
Remarks
File and line number information is associated with each CompilerError, so that user code to locate and display the code that generated an error or warning, where possible, can be implemented.
Applies to
See also
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour