Edit

Share via


ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>.Contains Method

Definition

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

public:
 virtual bool Contains(TServiceModelExtensionElement element);
public bool Contains (TServiceModelExtensionElement element);
abstract member Contains : 'ServiceModelExtensionElement -> bool
override this.Contains : 'ServiceModelExtensionElement -> bool
Public Function Contains (element As TServiceModelExtensionElement) As Boolean

Parameters

element
TServiceModelExtensionElement

The element to look for.

Returns

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

Implements

Exceptions

element is null.

Applies to