BindingElementCollection.Contains Method (Type)

 

Returns a value that indicates whether a specified type of binding element belongs to the collection of binding elements.

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

public bool Contains(
	Type bindingElementType
)

Parameters

bindingElementType
Type: System.Type

The type of binding element being tested for inclusion in the collection.

Return Value

Type: System.Boolean

true if the type of binding element specified is contained in the collection; otherwise, false.

Exception Condition
ArgumentNullException

bindingElementType is null.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: