DBindingCollection Interface

Note: This API is now obsolete.

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

This API is not CLS-compliant. The CLS-compliant alternative is BindingsCollection.

Namespace:  Microsoft.VisualBasic.Compatibility.VB6
Assembly:  Microsoft.VisualBasic.Compatibility.Data (in Microsoft.VisualBasic.Compatibility.Data.dll)

[CLSCompliantAttribute(false)]
[ObsoleteAttribute("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public interface DBindingCollection : IEnumerable

The DBindingCollection type exposes the following members.

  NameDescription
Public propertyCountGets the total number of bindings in the DBindingCollection.
Public propertyDataMemberGets or sets the data member for a DBindingCollection.
Public propertyDataSourceGets or sets the data source for a DBindingCollection.
Public propertyItemGets the DBinding at the specified index.
Public propertyUpdateModeGets or sets the UpdateMode for a DBindingCollection.
Top

  NameDescription
Public methodAddAdds a DBinding to a DBindingCollection.
Public methodClearClears the collection of binding objects.
Public methodGetEnumeratorReturns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public methodRemoveRemoves a DBinding interface from a DBindingCollection.
Public methodUpdateControlsGets the current row from the DBindingCollection object's data source and resets the contents of controls bound through the object.
Top

  NameDescription
Public Extension MethodAsParallelEnables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension MethodAsQueryableConverts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension MethodCast<TResult>Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension MethodOfType<TResult>Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

NoteNote

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.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Obsolete (compiler warning) in 4

.NET Framework Client Profile

Obsolete (compiler warning) in 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft