ImmutableArray<T>.Builder.Item[Int32] 屬性

定義

取得或設定指定之索引處的項目。

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

參數

index
Int32

要取得或設定的項目索引。

屬性值

T

在指定之索引處的項目。

實作

例外狀況

指定的索引不在陣列內。

適用於