OrderedDictionary<TKey,TValue>.GetAt(Int32) Метод

Определение

Возвращает пару "ключ-значение" по указанному индексу.

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)

Параметры

index
Int32

Отсчитываемый от нуля индекс пары.

Возвращаемое значение

Элемент по указанному индексу.

Исключения

index меньше 0 или больше или равно Count.

Применяется к