ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>.Contains Method (TServiceModelExtensionElement)

 

Returns a value that indicates whether this collection contains a specific element. This method cannot be inherited.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public bool Contains(
	TServiceModelExtensionElement element
)

Parameters

element
Type: TServiceModelExtensionElement

The element to look for.

Return Value

Type: System.Boolean

true if the collection contains the specified element; otherwise, false.

Exception Condition
ArgumentNullException

element is null.

.NET Framework
Available since 3.0
Return to top
Show: