Export (0) Print
Expand All

DataBindingCollection.Contains Method

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

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public bool Contains(
	string propertyName
)

Parameters

propertyName
Type: System.String

The name of the object to locate in the collection.

Return Value

Type: System.Boolean
true if the DataBindingCollection contains an element with the specified name; otherwise, false.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft