DoubleCollection.Item[Int32] 屬性

定義

取得或設定位於指定索引的 Double,此索引以零起始。

public:
 property double default[int] { double get(int index); void set(int index, double value); };
public double this[int index] { get; set; }
member this.Item(int) : double with get, set
Default Public Property Item(index As Integer) As Double

參數

index
Int32

要取得或設定的 Double 值的以零起始的索引。

屬性值

Double

指定之索引處的 Double

實作

例外狀況

index 不是 DoubleCollection 中的有效索引。

DoubleCollection 為唯讀。

-或- DoubleCollection 具有固定的大小。

適用於

另請參閱