DataRowEnumerator 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当 ADOEnumerationType 设置为返回 EnumerateAllRows 且变量包含数据集时,支持迭代。 此类不能被继承。
public ref class DataRowEnumerator sealed : System::Collections::IEnumerator
public sealed class DataRowEnumerator : System.Collections.IEnumerator
type DataRowEnumerator = class
interface IEnumerator
Public NotInheritable Class DataRowEnumerator
Implements IEnumerator
- 继承
-
DataRowEnumerator
- 实现
属性
Current |
获取集合中的当前元素。 |
方法
MoveNext() |
将枚举数推进到集合的下一个元素。 返回一个布尔值,该值指示 MoveNext 是否成功。 |
Reset() |
将枚举数设置为其初始位置,该位置位于集合中第一个元素之前。 |