System.Web.UI.DataBindingCollection: Method Members

The methods of System.Web.UI.DataBindingCollection are listed below. For a list of all members, see the DataBindingCollection Members list.

See Also: Inherited members from System.Object

Public Methods

Add(DataBinding)

Adds the specified System.Web.UI.DataBinding object to the System.Web.UI.DataBindingCollection collection.

Clear()

Removes all System.Web.UI.DataBinding objects from the System.Web.UI.DataBindingCollection collection.

Contains(string) : bool

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

CopyTo(Array, int)

Copies the System.Web.UI.DataBindingCollection values to a one-dimensional Array, beginning at the Array object's specified index.

GetEnumerator() : IEnumerator

Returns an enumerator to iterate through the System.Web.UI.DataBindingCollection object.

Remove(string)

Removes the System.Web.UI.DataBinding object associated with the specified property name from the System.Web.UI.DataBindingCollection collection and adds it to the DataBindingCollection.RemovedBindings collection.

Remove(DataBinding)

Removes the specified System.Web.UI.DataBinding object from the System.Web.UI.DataBindingCollection collection and adds it to the DataBindingCollection.RemovedBindings collection.

Remove(string, bool)

Removes the System.Web.UI.DataBinding object, associated with the specified property name, from the System.Web.UI.DataBindingCollection collection and controls whether to add the binding to the DataBindingCollection.RemovedBindings list.