DBindingCollection DBindingCollection DBindingCollection DBindingCollection Interface



This API is now obsolete.


This API is not CLS-compliant.

CLS-compliant alternative

Provides an interface to replace COM-based data binding in an application upgraded from Visual Basic 6.0.

public interface class DBindingCollection : System::Collections::IEnumerable
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public interface DBindingCollection : System.Collections.IEnumerable
type DBindingCollection = interface
    interface IEnumerable
Public Interface DBindingCollection
Implements IEnumerable



Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2008. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.


Count Count Count Count

Gets the total number of bindings in the DBindingCollection.

DataMember DataMember DataMember DataMember

Gets or sets the data member for a DBindingCollection.

DataSource DataSource DataSource DataSource

Gets or sets the data source for a DBindingCollection.

Item[Object] Item[Object] Item[Object] Item[Object]

Gets the DBinding at the specified index.

UpdateMode UpdateMode UpdateMode UpdateMode

Gets or sets the UpdateMode for a DBindingCollection.


Add(Object, String, String, IDataFormatDisp, String) Add(Object, String, String, IDataFormatDisp, String) Add(Object, String, String, IDataFormatDisp, String) Add(Object, String, String, IDataFormatDisp, String)

Adds a DBinding to a DBindingCollection.

Clear() Clear() Clear() Clear()

Clears the collection of binding objects.

GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that iterates through a collection.

(Inherited from IEnumerable)
Remove(Object) Remove(Object) Remove(Object) Remove(Object)

Removes a DBinding interface from a DBindingCollection.

UpdateControls() UpdateControls() UpdateControls() UpdateControls()

Gets the current row from the DBindingCollection object's data source and resets the contents of controls bound through the object.

Extension Methods

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to