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.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- bindingElementType
- Type: System.Type
The type of binding element being tested for inclusion in the collection.
Return Value
Type: System.Booleantrue if the type of binding element specified is contained in the collection; otherwise, false.
| Exception | Condition |
|---|---|
| ArgumentNullException | bindingElementType is null. |
Show: