DataBindingCollection Class
Provides a collection of DataBinding objects for an ASP.NET server control. This class cannot be inherited.
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | DataBindingCollection() | Initializes a new instance of the DataBindingCollection class. |
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of DataBinding objects in the DataBindingCollection object. |
![]() | IsReadOnly | Gets a value indicating whether the DataBindingCollection collection is read-only. |
![]() | IsSynchronized | Gets a value indicating whether the DataBindingCollection collection is synchronized (thread safe). |
![]() | Item[String^] | Gets the DataBinding object with the specified property name. |
![]() | RemovedBindings | Gets an array of the names of the DataBinding objects removed from the collection. |
![]() | SyncRoot | Gets an object that can be used to synchronize access to the DataBindingCollection collection. |
| Name | Description | |
|---|---|---|
![]() | Add(DataBinding^) | Adds the specified DataBinding object to the DataBindingCollection collection. |
![]() | Clear() | Removes all DataBinding objects from the DataBindingCollection collection. |
![]() | Contains(String^) | Determines whether the data-binding collection contains a specific DataBinding object. |
![]() | CopyTo(Array^, Int32) | |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetEnumerator() | Returns an enumerator to iterate through the DataBindingCollection object. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | Remove(DataBinding^) | Removes the specified DataBinding object from the DataBindingCollection collection and adds it to the RemovedBindings collection. |
![]() | Remove(String^) | Removes the DataBinding object associated with the specified property name from the DataBindingCollection collection and adds it to the RemovedBindings collection. |
![]() | Remove(String^, Boolean) | Removes the DataBinding object, associated with the specified property name, from the DataBindingCollection collection and controls whether to add the binding to the RemovedBindings list. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | Changed | Occurs when the collection of DataBinding objects is changed. |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast<TResult>() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType<TResult>() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
This collection is a dictionary containing all the DataBinding objects on an ASP.NET server control. You can access the objects contained in this collection through the Control class implementation of the IDataBindingsAccessor interface. Any DataBinding or DataBindingCollection objects associated with a server control exist only at design time. They do not exist at run time and, therefore, are not accessible during run time.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


