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

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於

另請參閱