CompilerErrorCollection.Item[Int32] 屬性

定義

取得或設定在指定索引處的 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

集合中以零為基底的項目索引。

屬性值

在每一個有效索引上的 CompilerError

例外狀況

index 參數所表示的索引值超過集合的有效索引範圍。

適用於