This documentation is archived and is not being maintained.

DataBindingCollection Members

DataBindingCollection overview

Public Constructors

public constructorDataBindingCollection Constructor Initializes a new instance of the DataBindingCollection class.

Public Properties

public propertyCount Gets the number of DataBinding objects in the DataBindingCollection object.
public propertyIsReadOnly Gets a value indicating whether the DataBindingCollection is read-only.
public propertyIsSynchronized Gets a value indicating whether the DataBindingCollection is synchronized (thread-safe).
public propertyItem Gets the DataBinding object with the specified property name.

In C#, this property is the indexer for the DataBindingCollection class.

public propertyRemovedBindings Gets an array of the names of the DataBinding objects removed from the collection.
public propertySyncRoot Gets an object that can be used to synchronize access to the DataBindingCollection.

Public Methods

public methodAdd Adds the specified DataBinding object to the DataBindingCollection.
public methodClear Removes all DataBinding objects from the DataBindingCollection.
public methodCopyTo Copies the DataBindingCollection values to a one-dimensional Array, beginning at the Array object's specified index.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetEnumerator Returns an enumerator to iterate through the DataBindingCollection object.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodRemove Overloaded. Removes a DataBinding object from the DataBindingCollection.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

DataBindingCollection Class | System.Web.UI Namespace

Show: