ImmutableList<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

所需項目的索引。

傳回

T

位於所指定 index 值的唯讀參考。

適用於