SynchronizedReadOnlyCollection<T>.Contains Method (T)
.NET Framework (current version)
Determines whether the collection contains an element with a specific value.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- value
-
Type:
T
The object to locate in the collection.
Return Value
Type: System.Booleantrue if the element value is found in the collection; otherwise false.
Implements
ICollection<T>.Contains(T)| Exception | Condition |
|---|---|
| ArgumentException | value is not an object of the type contained in the collection. |
.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: