IImmutableDictionary<TKey,TValue>.Contains 메서드

정의

변경할 수 없는 사전에 지정된 키/값 쌍이 들어 있는지 여부를 확인합니다.

public:
 bool Contains(System::Collections::Generic::KeyValuePair<TKey, TValue> pair);
public bool Contains (System.Collections.Generic.KeyValuePair<TKey,TValue> pair);
abstract member Contains : System.Collections.Generic.KeyValuePair<'Key, 'Value> -> bool
Public Function Contains (pair As KeyValuePair(Of TKey, TValue)) As Boolean

매개 변수

pair
KeyValuePair<TKey,TValue>

찾을 키/값 쌍입니다.

반환

지정된 키/값 쌍이 사전에 있으면 true이고, 그렇지 않으면 false입니다.

적용 대상