OrderedDictionary<TKey,TValue>.GetAt(Int32) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定したインデックス位置にあるキーと値のペアを取得します。
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以上です。