Contains Method (Type)
Collapse the table of content
Expand the table of content

BindingElementCollection.Contains Method (Type)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

ExceptionCondition
ArgumentNullException

bindingElementType is null.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft