BindingCollectionEnumerator.MoveNext 方法
定义
将枚举数推进到集合的下一个元素。Advances the enumerator to the next element of the collection.
public:
virtual bool MoveNext() = System::Collections::IEnumerator::MoveNext;
public bool MoveNext ();
abstract member MoveNext : unit -> bool
override this.MoveNext : unit -> bool
Public Function MoveNext () As Boolean
返回
如果枚举数已成功地推进到下一个元素,则为 true;如果枚举数传递到集合的末尾,则为 false。true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
实现
注解
当应用程序升级到 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 中其他命名空间的功能。In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. 只有当 Visual Basic 6.0 代码模型与 .NET Framework 实现有显著区别时,才必须使用这些函数和对象。They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.