SynchronizedReadOnlyCollection(Of T).Contains Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Determines whether the collection contains an element with a specific value.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- item
- Type: T
Return Value
Type: System.Booleantrue if the element value is found in the collection; otherwise, false.
Implements
ICollection(Of T).Contains(T)| Exception | Condition |
|---|---|
| ArgumentException | value is not an object of the type contained in the collection. |
Show: