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

Definitie

Hiermee haalt u het sleutel-waardepaar op bij de opgegeven index.

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)

Parameters

index
Int32

De op nul gebaseerde index van het paar om op te halen.

Retouren

Het element in de opgegeven index.

Uitzonderingen

index is kleiner dan 0 of groter dan of gelijk aan Count.

Van toepassing op