ConcurrentDictionary<TKey,TValue>.ICollection<KeyValuePair<TKey,TValue>>.Contains 메서드

정의

지정된 키를 갖는 요소가 ICollection<T>에 들어 있는지 여부를 가져옵니다.

 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);
abstract member System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Contains : System.Collections.Generic.KeyValuePair<'Key, 'Value> -> bool
override this.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<TKey,TValue>>.Contains : System.Collections.Generic.KeyValuePair<'Key, 'Value> -> bool
Function Contains (keyValuePair As KeyValuePair(Of TKey, TValue)) As Boolean Implements ICollection(Of KeyValuePair(Of TKey, TValue)).Contains

매개 변수

keyValuePair
KeyValuePair<TKey,TValue>

ICollection<T>에서 찾을 수 있는 키입니다.

반환

true에 지정한 키가 있는 요소가 포함되어 있으면 ICollection<T>이고, 그렇지 않으면 false입니다.

구현

적용 대상

추가 정보