Sdílet prostřednictvím


OrderedDictionary<TKey,TValue>.GetAt(Int32) Metoda

Definice

Získá dvojici klíč/hodnota v zadaném indexu.

public:
 System::Collections::Generic::KeyValuePair<TKey, TValue> GetAt(int index);
public System.Collections.Generic.KeyValuePair<TKey,TValue> GetAt (int index);
member this.GetAt : int -> System.Collections.Generic.KeyValuePair<'Key, 'Value>
Public Function GetAt (index As Integer) As KeyValuePair(Of TKey, TValue)

Parametry

index
Int32

Index páru založený na nule, který se má získat.

Návraty

Prvek v zadaném indexu.

Výjimky

index je menší než 0 nebo větší než nebo rovno Count.

Platí pro