SourceExpressionException.Errors 属性

定义

获取编译器错误的可枚举类型集合。Gets an enumerable type collection of compiler errors.

public:
 property System::Collections::Generic::IEnumerable<System::CodeDom::Compiler::CompilerError ^> ^ Errors { System::Collections::Generic::IEnumerable<System::CodeDom::Compiler::CompilerError ^> ^ get(); };
public System.Collections.Generic.IEnumerable<System.CodeDom.Compiler.CompilerError> Errors { get; }
member this.Errors : seq<System.CodeDom.Compiler.CompilerError>
Public ReadOnly Property Errors As IEnumerable(Of CompilerError)

属性值

IEnumerable<CompilerError>

编译器错误的可枚举集合。An enumerable collection of compiler errors.

注解

与该集合中每个错误关联的数据可以包括包含错误的文件、错误标识号、描述错误的消息,以及其他类型的错误信息。The data associated with each error in the collection can include the file that contains the error, an error identification number, a message that describes the error, and other types of error information.

适用于