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

定義

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

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

パラメーター

item
TValue

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

返品

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

実装

注釈

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

適用対象