BindingElementCollection.Contains(Type) Method

Definition

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

public bool Contains (Type bindingElementType);

Parameters

bindingElementType
Type

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

Returns

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

Exceptions

bindingElementType is null.

Applies to

Продукт Версії
.NET Core 1.0, Core 1.1, 8 (package-provided)
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
UWP 10.0