แก้ไข

แชร์ผ่าน


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

Definition

Gets the key corresponding to the specified index.

public:
 TKey GetKeyAtIndex(int index);
public TKey GetKeyAtIndex (int index);
member this.GetKeyAtIndex : int -> 'Key
Public Function GetKeyAtIndex (index As Integer) As TKey

Parameters

index
Int32

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

Returns

TKey

The key corresponding to the specified index.

Exceptions

The specified index is out of range.

Applies to