CompilerErrorCollection.Item[Int32] 属性
定义
获取或设置指定索引处的 CompilerError。Gets or sets the CompilerError at the specified index.
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
要在集合中定位的项的从零开始的索引。The zero-based index of the entry to locate in the collection.
属性值
每个有效索引位置的 CompilerError。A CompilerError at each valid index.
例外
index 参数指示的索引值不在集合的有效索引范围内。The index value indicated by the index parameter is outside the valid range of indexes for the collection.