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

在集合中查找的项的从零开始的索引。

属性值

每个有效索引处的 A CompilerError

例外

参数指示 index 的索引值超出了集合的有效索引范围。

适用于