語言

ImmutableSortedSet<T>.Builder.ItemRef(Int32) 方法

定義

在給定 index的集合元素 處獲得只讀參照。

public:
 T& ^ ItemRef(int index);
public ref readonly T ItemRef(int index);
member this.ItemRef : int -> 'T
Public Function ItemRef (index As Integer) As T

參數

index
Int32

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

傳回

T

對該位置元素的唯讀參考。

適用於