MBindingCollection Class
Note: This API is now obsolete.
Provides an interface to replace COM-based data binding in an application upgraded from Visual Basic 6.0.
Assembly: Microsoft.VisualBasic.Compatibility.Data (in Microsoft.VisualBasic.Compatibility.Data.dll)
The MBindingCollection type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Count | Gets the total number of bindings in the MBindingCollection. |
![]() | DataMember | Gets or sets the data member for a MBindingCollection. |
![]() | DataSource | Gets or sets the data source for a MBindingCollection. |
![]() | Item | Gets the MBinding at the specified index. |
![]() | UpdateMode | Gets or sets the UpdateMode for a MBindingCollection. |
| Name | Description | |
|---|---|---|
![]() | Add(Object, String, String, IDataFormatDisp, String) | Adds a MBinding to a MBindingCollection. |
![]() | Add(Object, String, String, IDataFormatDisp, String, Boolean) | Adds a MBinding to a MBindingCollection. |
![]() | Clear | Clears the collection of binding objects. |
![]() | Dispose() | Releases the unmanaged resources that are used by a MBindingCollection. |
![]() | Dispose(Boolean) | Releases the unmanaged resources that are used by a MBindingCollection and optionally releases the managed resources. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetEnumerator | Gets an enumerator for a MBindingCollection. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Remove | Removes a MBinding interface from a MBindingCollection. |
![]() | SavePendingChanges | Determines whether to save changes in a MBindingCollection. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | UpdateControls | Gets the current row from the data source of the MBindingCollection object and resets the contents of controls bound through the object. |
Note |
|---|
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 2010. 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. |
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.
