This documentation is archived and is not being maintained.

CompilerResults.Errors Property

Gets the collection of compiler errors and warnings.

[Visual Basic]
Public ReadOnly Property Errors As CompilerErrorCollection
public CompilerErrorCollection Errors {get;}
public: __property CompilerErrorCollection* get_Errors();
public function get Errors() : CompilerErrorCollection;

Property Value

A CompilerErrorCollection that indicates the errors and warnings resulting from compilation, if any.


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.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

CompilerResults Class | CompilerResults Members | System.CodeDom.Compiler Namespace | CompilerErrorCollection