OrderedDictionary<TKey,TValue>.IList<KeyValuePair<TKey,TValue>>.IndexOf メソッド

定義

IList<T>内の特定の項目のインデックスを決定します。

 virtual int System.Collections.Generic.IList<System.Collections.Generic.KeyValuePair<TKey,TValue>>.IndexOf(System::Collections::Generic::KeyValuePair<TKey, TValue> item) = System::Collections::Generic::IList<System::Collections::Generic::KeyValuePair<TKey, TValue>>::IndexOf;
int IList<KeyValuePair<TKey,TValue>>.IndexOf (System.Collections.Generic.KeyValuePair<TKey,TValue> item);
abstract member System.Collections.Generic.IList<System.Collections.Generic.KeyValuePair<TKey,TValue>>.IndexOf : System.Collections.Generic.KeyValuePair<'Key, 'Value> -> int
override this.System.Collections.Generic.IList<System.Collections.Generic.KeyValuePair<TKey,TValue>>.IndexOf : System.Collections.Generic.KeyValuePair<'Key, 'Value> -> int
Function IndexOf (item As KeyValuePair(Of TKey, TValue)) As Integer Implements IList(Of KeyValuePair(Of TKey, TValue)).IndexOf

パラメーター

item
KeyValuePair<TKey,TValue>

IList<T>内で検索するオブジェクト。

戻り値

リスト内で見つかった場合の item のインデックス。それ以外の場合は -1。

実装

適用対象