ImmutableSortedSet<T>.Builder.ItemRef(Int32) ImmutableSortedSet<T>.Builder.ItemRef(Int32) ImmutableSortedSet<T>.Builder.ItemRef(Int32) ImmutableSortedSet<T>.Builder.ItemRef(Int32) Method

定义

获取对给定 index 处的集元素的只读引用。Gets a read-only reference to the element of the set at the given 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 Int32 Int32 Int32

要返回集中的元素从零开始的索引。The 0-based index of the element in the set to return.

返回

T T T T

对给定位置处的元素的只读引用。A read-only reference to the element at the given position.

适用于