System.Web.UI.DataBindingCollection Members

The members of System.Web.UI.DataBindingCollection are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Web.UI.DataBindingCollection class.

Public Properties

[read-only]
Countint.

Gets the number of System.Web.UI.DataBinding objects in the System.Web.UI.DataBindingCollection object.

[read-only]
IsReadOnlybool.

Gets a value indicating whether the System.Web.UI.DataBindingCollection collection is read-only.

[read-only]
IsSynchronizedbool.

Gets a value indicating whether the System.Web.UI.DataBindingCollection collection is synchronized (thread safe).

[read-only]
default property
Item(string)DataBinding. Documentation for this section has not yet been entered.
[read-only]
RemovedBindingsstring[].

Gets an array of the names of the System.Web.UI.DataBinding objects removed from the collection.

[read-only]
SyncRootobject.

Gets an object that can be used to synchronize access to the System.Web.UI.DataBindingCollection collection.

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.

Public Events

Changed

Occurs when the collection of System.Web.UI.DataBinding objects is changed.