DataBindingCollection.Contains(String) Method

Definition

Determines whether the data-binding collection contains a specific DataBinding object.

public:
 bool Contains(System::String ^ propertyName);
public bool Contains (string propertyName);
member this.Contains : string -> bool
Public Function Contains (propertyName As String) As Boolean

Parameters

propertyName
String

The name of the object to locate in the collection.

Returns

true if the DataBindingCollection contains an element with the specified name; otherwise, false.

Applies to