ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>.Contains Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.