Rediger

Del via


ImmutableSortedSet<T>.Builder.Item[Int32] Property

Definition

Gets the element of the set at the given index.

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

Parameters

index
Int32

The 0-based index of the element in the set to return.

Property Value

T

The element at the given position.

Remarks

No index setter is offered because the element being replaced may not sort to the same position in the sorted collection as the replacing element.

Applies to