ILookup<TKey,TElement>.Contains(TKey) 메서드

정의

지정된 키가 ILookup<TKey,TElement>에 있는지 확인합니다.

public:
 bool Contains(TKey key);
public bool Contains (TKey key);
abstract member Contains : 'Key -> bool
Public Function Contains (key As TKey) As Boolean

매개 변수

key
TKey

ILookup<TKey,TElement>에서 검색할 키입니다.

반환

keyILookup<TKey,TElement>에 있으면 true이고, 그렇지 않으면 false입니다.

적용 대상