MBindingCollection MBindingCollection MBindingCollection MBindingCollection Class

Definition

Warning

This API is now obsolete.

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

public ref class MBindingCollection : IDisposable, Microsoft::VisualBasic::Compatibility::VB6::DBindingCollection
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public class MBindingCollection : IDisposable, Microsoft.VisualBasic.Compatibility.VB6.DBindingCollection
type MBindingCollection = class
    interface DBindingCollection
    interface IDisposable
Public Class MBindingCollection
Implements DBindingCollection, IDisposable
Inheritance
MBindingCollectionMBindingCollectionMBindingCollectionMBindingCollection
Attributes
Implements

Remarks

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. 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.

Constructors

MBindingCollection() MBindingCollection() MBindingCollection() MBindingCollection()

Initializes an instance of a MBindingCollection.

Properties

Count Count Count Count

Gets the total number of bindings in the MBindingCollection.

DataMember DataMember DataMember DataMember

Gets or sets the data member for a MBindingCollection.

DataSource DataSource DataSource DataSource

Gets or sets the data source for a MBindingCollection.

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

Gets the MBinding at the specified index.

UpdateMode UpdateMode UpdateMode UpdateMode

Gets or sets the UpdateMode for a MBindingCollection.

Methods

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 MBinding to a MBindingCollection.

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

Adds a MBinding to a MBindingCollection.

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

Clears the collection of binding objects.

Dispose() Dispose() Dispose() Dispose()

Releases the unmanaged resources that are used by a MBindingCollection.

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Releases the unmanaged resources that are used by a MBindingCollection and optionally releases the managed resources.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Gets an enumerator for a MBindingCollection.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

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

Removes a MBinding interface from a MBindingCollection.

SavePendingChanges() SavePendingChanges() SavePendingChanges() SavePendingChanges()

Determines whether to save changes in a MBindingCollection.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
UpdateControls() UpdateControls() UpdateControls() UpdateControls()

Gets the current row from the data source of the MBindingCollection object 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