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

位于给定位置的元素。

注解

没有提供索引 setter,因为要替换的元素不能排序到排序集合中与替换元素相同的位置。

适用于