ADORowsetEnumerator Class

Definition

支持遍历 ActiveX 数据对象 (ADO) 记录集。Supports iteration over an ActiveX Data Objects (ADO) recordset. 无法继承此类。This class cannot be inherited.

public ref class ADORowsetEnumerator sealed : System::Collections::IEnumerator
public sealed class ADORowsetEnumerator : System.Collections.IEnumerator
type ADORowsetEnumerator = class
    interface IEnumerator
Public NotInheritable Class ADORowsetEnumerator
Implements IEnumerator
Inheritance
ADORowsetEnumerator
Implements

Properties

Current

从枚举器获取当前字段集合。Gets the current field collection from the enumerator.

Methods

MoveNext()

将枚举器前移到集合的下一个元素。Advances the enumerator to the next element of the collection. 返回一个布尔值, 指示 MoveNext 是否成功。Returns a Boolean indicating whether the MoveNext was successful.

Reset()

将枚举器设置为其初始位置(在集合中第一个元素之前)。Sets the enumerator to its initial position, which is before the first element in the collection.

Applies to