ReadOnlyDictionary<TKey,TValue>.KeyCollection.ICollection<TKey>.Contains メソッド

定義

コレクションに特定の値が含まれているかどうかを判断します。

 virtual bool System.Collections.Generic.ICollection<TKey>.Contains(TKey item) = System::Collections::Generic::ICollection<TKey>::Contains;
bool ICollection<TKey>.Contains(TKey item);
abstract member System.Collections.Generic.ICollection<TKey>.Contains : 'Key -> bool
override this.System.Collections.Generic.ICollection<TKey>.Contains : 'Key -> bool
Function Contains (item As TKey) As Boolean Implements ICollection(Of TKey).Contains

パラメーター

item
TKey

コレクション内で検索するオブジェクト。

返品

true コレクション内 item 見つかった場合は a0/>。それ以外の場合は false

実装

注釈

このメンバーは、明示的なインターフェイス メンバーの実装です。 ReadOnlyDictionary<TKey,TValue>.KeyCollection インスタンスがICollection<T> インターフェイスにキャストされている場合にのみ使用できます。

適用対象