Visual Basic Reference

Visual Studio 6.0

BindingCollection Object

See Also    Example    Properties    Methods    Events

A collection of Binding objects.




The BindingCollection object allows you to bind any data provider to any data consumer. To bind a consumer to data provider, use the Add method to add a Binding object to the collection. Each Binding object represents the binding of a specific consumer to the DataSource supplied by the BindingCollection object.

Data sources that have no design time interface, such as a Class configured as a data source (by setting its DataSourceBehavior property to VbDataSource) or an ADO Recordset can be bound at run time using the BindingObject collection.

Use standard collection syntax to return or set properties of the members of the collection.