This documentation is archived and is not being maintained.

DataBindingCollection.RemovedBindings Property

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

[Visual Basic]
Public ReadOnly Property RemovedBindings As String ()
[C#]
public string[] RemovedBindings {get;}
[C++]
public: __property String* get_RemovedBindings();
[JScript]
public function get RemovedBindings() : String[];

Property Value

The array of names of the DataBinding objects removed from the collection. If no object entries have been removed, an empty string is returned.

Remarks

Calling this property returns the array of names, but also clears all of the binding names from the list.

Example

[Visual Basic, C#, C++] The following example sets two variables, removedBindings1 and removedBindings2, equal to the string array value of the RemovedBindings property associated with a Control object.

[Visual Basic] 
' Use the DataBindingCollection.RemovedBindings 
' property to set the value of the removedBindings
' arrays.
removedBindings1 = DataBindings.RemovedBindings
removedBindings2 = DataBindings.RemovedBindings

[C#] 
// Use the DataBindingCollection.RemovedBindings 
// property to set the value of the removedBindings
// arrays.
removedBindings2 = removedBindings1 = DataBindings.RemovedBindings;

[C++] 
// Use the DataBindingCollection::RemovedBindings
// property to set the value of the removedBindings
// arrays.
removedBindings2 = removedBindings1 = DataBindings->RemovedBindings;

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter in the upper-left corner of the page.

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

DataBindingCollection Class | DataBindingCollection Members | System.Web.UI Namespace

Show: