語言

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

實作

例外狀況

index 在 中 不是有效的索引 DoubleCollection。

這是 DoubleCollection 唯讀的。

-或-

它 DoubleCollection 有固定尺寸。

適用於

另請參閱