ReadOnlyDictionary<TKey,TValue>.ValueCollection.ICollection<TValue>.Contains Yöntem

Tanım

Koleksiyonun belirli bir değer içerip içermediğini belirler.

 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

Parametreler

item
TValue

Koleksiyonda bulunacak nesne.

Döndürülenler

Koleksiyonda item bulunursa true, bulunmazsa false.

Uygulamalar

Açıklamalar

Bu üye, açık bir arabirim üyesi uygulamasıdır. Yalnızca örnek bir ICollection<T> arabirime ReadOnlyDictionary<TKey,TValue>.ValueCollection yayınlandığında kullanılabilir.

Şunlara uygulanır