Επεξεργασία

Κοινή χρήση μέσω


BindingCollectionEnumerator Class

Definition

Caution

Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

Supports a simple iteration over a binding collection in an application upgraded from Visual Basic 6.0.

public ref class BindingCollectionEnumerator : System::Collections::IEnumerator
[System.Runtime.InteropServices.ComVisible(false)]
public class BindingCollectionEnumerator : System.Collections.IEnumerator
[System.Runtime.InteropServices.ComVisible(false)]
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public class BindingCollectionEnumerator : System.Collections.IEnumerator
[<System.Runtime.InteropServices.ComVisible(false)>]
type BindingCollectionEnumerator = class
    interface IEnumerator
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")>]
type BindingCollectionEnumerator = class
    interface IEnumerator
Public Class BindingCollectionEnumerator
Implements IEnumerator
Inheritance
BindingCollectionEnumerator
Attributes
Implements

Remarks

When an application is upgraded to Visual Basic, a BindingCollectionEnumerator is created to enable the ADO-related code.

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.

Properties

Current

Gets the current element in the binding collection.

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(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)
MoveNext()

Advances the enumerator to the next element of the collection.

Reset()

Sets the enumerator to its initial position, which is before the first element in the collection.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also