語言

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

定義

取得位於指定索引處之集合的專案。

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

參數

index
Int32

回傳集合中元素的 0 為基礎索引。

屬性值

T

該位置的元素。

備註

沒有提供索引設定器,因為被替換的元素可能不會與替換元素在排序後的集合中排序到相同位置。

適用於