System.Windows.Forms.ControlBindingsCollection.Add Method

Adds the specified System.Windows.Forms.Binding to the collection.

Syntax

public void Add (Binding binding)

Parameters

binding
The System.Windows.Forms.Binding to add.

Remarks

The Binding.DataSourceUpdateMode property of the System.Windows.Forms.Binding created by this overload of the ControlBindingsCollection.Add(string, object, string) method is set to the value of the ControlBindingsCollection.DefaultDataSourceUpdateMode property.

The BindingsCollection.CollectionChanged event occurs when the change is complete.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0