BindingCollectionEnumerator 类

定义

警告

此 API 现已过时。

支持在从 Visual Basic 6.0 升级的应用程序中对绑定集合进行简单迭代。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.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. https://go.microsoft.com/fwlink/?linkid=160862")]
[System.Runtime.InteropServices.ComVisible(false)]
public class BindingCollectionEnumerator : System.Collections.IEnumerator
type BindingCollectionEnumerator = class
    interface IEnumerator
Public Class BindingCollectionEnumerator
Implements IEnumerator
继承
BindingCollectionEnumerator
属性
实现

注解

当应用程序升级到 Visual Basic 时,将创建一个 BindingCollectionEnumerator 以启用与 ADO相关的代码。When an application is upgraded to Visual Basic, a BindingCollectionEnumerator is created to enable the ADO-related code.

备注

Microsoft.VisualBasic.Compatibility.VB6 命名空间中的函数和对象用于工具从 Visual Basic 6.0 升级到 Visual Basic。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. 大多数情况下,这些函数和对象可再现 .NET Framework.NET Framework 中其他命名空间的功能。In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework.NET Framework. 只有 Visual Basic 6.0 代码模型与 .NET Framework.NET Framework 实现有显著区别时才需要这些函数和对象。They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework.NET Framework implementation.

属性

Current

获取绑定集合中的当前元素。Gets the current element in the binding collection.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 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()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅