Export (0) Print
Expand All

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.

System.Object
  Microsoft.VisualBasic.Compatibility.VB6.MBindingCollection

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

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

The MBindingCollection type exposes the following members.

  NameDescription
Public methodMBindingCollectionInitializes an instance of a MBindingCollection.
Top

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

  NameDescription
Public methodAdd(Object, String, String, IDataFormatDisp, String)Adds a MBinding to a MBindingCollection.
Public methodAdd(Object, String, String, IDataFormatDisp, String, Boolean)Adds a MBinding to a MBindingCollection.
Public methodClearClears the collection of binding objects.
Public methodDispose()Releases the unmanaged resources that are used by a MBindingCollection.
Protected methodDispose(Boolean)Releases the unmanaged resources that are used by a MBindingCollection and optionally releases the managed resources.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetEnumeratorGets an enumerator for a MBindingCollection.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRemoveRemoves a MBinding interface from a MBindingCollection.
Public methodSavePendingChangesDetermines whether to save changes in a MBindingCollection.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodUpdateControlsGets the current row from the data source of the MBindingCollection object and resets the contents of controls bound through the object.
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. 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.6
Obsolete (compiler warning) in 4.5
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5.2
Obsolete (compiler warning) in 4

.NET Framework Client Profile

Obsolete (compiler warning) in 4

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft