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

定义

获取或设置指定索引处的项。Gets or sets the item at the specified index.

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

要获取或设置的项的索引。The index of the item to get or set.

属性值

T

指定索引处的项。The item at the specified index.

实现

例外

指定的索引不在数组内。The specified index is not in the array.

适用于