다음을 통해 공유


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

가져올 쌍의 인덱스(0부터 시작)입니다.

반환

지정된 인덱스 요소입니다.

예외

index 0보다 작거나 Count같거나 같습니다.

적용 대상