SortedList<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.Contains(KeyValuePair<TKey,TValue>) メソッド

定義

ICollection<T> に特定の要素が格納されているかどうかを判断します。Determines whether the ICollection<T> contains a specific element.

 virtual bool System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Contains(System::Collections::Generic::KeyValuePair<TKey, TValue> keyValuePair) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<TKey, TValue>>::Contains;
bool ICollection<KeyValuePair<TKey,TValue>>.Contains (System.Collections.Generic.KeyValuePair<TKey,TValue> keyValuePair);
Function Contains (keyValuePair As KeyValuePair(Of TKey, TValue)) As Boolean Implements ICollection(Of KeyValuePair(Of TKey, TValue)).Contains

パラメーター

戻り値

truekeyValuePair に存在する場合は ICollection<T>。それ以外の場合は falsetrue if keyValuePair is found in the ICollection<T>; otherwise, false.

実装

適用対象