SortedList<TKey,TValue>.GetValueAtIndex(Int32) Method

Definition

Gets the value corresponding to the specified index.

public:
 TValue GetValueAtIndex(int index);
public TValue GetValueAtIndex (int index);
member this.GetValueAtIndex : int -> 'Value
Public Function GetValueAtIndex (index As Integer) As TValue

Parameters

index
Int32

The zero-based index of the value within the entire SortedList<TKey,TValue>.

Returns

TValue

The value corresponding to the specified index.

Exceptions

The specified index was out of range.

Applies to