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以上です。

適用対象