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

Definicja

Pobiera klucz odpowiadający określonemu indeksowi.

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

Parametry

index
Int32

Indeks oparty na zerze klucza w obrębie całego SortedList<TKey,TValue>klucza .

Zwraca

TKey

Klucz odpowiadający określonemu indeksowi.

Wyjątki

Określony indeks jest poza zakresem.

Dotyczy