BindingCollectionEnumerator 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862
支援在從 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
- 繼承
-
BindingCollectionEnumerator
- 屬性
- 實作
備註
當應用程式升級至 Visual Basic 時,會建立一個 BindingCollectionEnumerator 以啟用與 ADO 相關的程式碼。
Note
命名空間中的 Microsoft.VisualBasic.Compatibility.VB6 函式與物件提供給從 Visual Basic 6.0 升級到 Visual Basic 的工具使用。 大多數情況下,這些函式和物件會重複你在 .NET Framework 中其他命名空間中能找到的功能。 只有當 Visual Basic 6.0 的程式碼模型與 .NET Framework 實作有顯著差異時,才需要使用這些工具。
屬性
| 名稱 | Description |
|---|---|
| Current |
已淘汰.
取得綁定集合中目前的元素。 |
方法
| 名稱 | Description |
|---|---|
| Equals(Object) |
已淘汰.
判斷指定的 物件是否等於目前的物件。 (繼承來源 Object) |
| GetHashCode() |
已淘汰.
做為預設雜湊函式。 (繼承來源 Object) |
| GetType() |
已淘汰.
取得目前實例的 Type。 (繼承來源 Object) |
| MemberwiseClone() |
已淘汰.
建立目前 Object的淺層複本。 (繼承來源 Object) |
| MoveNext() |
已淘汰.
將列舉器前進至集合的下一個元素。 |
| Reset() |
已淘汰.
將列舉值設定為其初始位置,也就是集合中第一個專案之前。 |
| ToString() |
已淘汰.
傳回表示目前 物件的字串。 (繼承來源 Object) |