ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>::Contains Method (TServiceModelExtensionElement)
.NET Framework (current version)
Returns a value that indicates whether this collection contains a specific element. This method cannot be inherited.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- element
-
Type:
TServiceModelExtensionElement
The element to look for.
Return Value
Type: System::Booleantrue if the collection contains the specified element; otherwise, false.
Implements
ICollection<T>::Contains(T)| Exception | Condition |
|---|---|
| ArgumentNullException | element is null. |
.NET Framework
Available since 3.0
Available since 3.0
Show: