CompilerErrorCollection.Item[Int32] 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置 CompilerError 指定索引处。
public:
property System::CodeDom::Compiler::CompilerError ^ default[int] { System::CodeDom::Compiler::CompilerError ^ get(int index); void set(int index, System::CodeDom::Compiler::CompilerError ^ value); };
public System.CodeDom.Compiler.CompilerError this[int index] { get; set; }
member this.Item(int) : System.CodeDom.Compiler.CompilerError with get, set
Default Public Property Item(index As Integer) As CompilerError
参数
- index
- Int32
在集合中查找的项的从零开始的索引。
属性值
每个有效索引处的 A CompilerError 。
例外
参数指示 index 的索引值超出了集合的有效索引范围。