EnumerableRowCollection.IEnumerable.GetEnumerator EnumerableRowCollection.IEnumerable.GetEnumerator EnumerableRowCollection.IEnumerable.GetEnumerator Method

定义

返回 DataRow 对象集合的枚举数。Returns an enumerator for the collection of DataRow objects. 此 API 支持 .NET Framework 基础结构,但不应在代码中直接使用。This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

 virtual System::Collections::IEnumerator ^ System.Collections.IEnumerable.GetEnumerator() = System::Collections::IEnumerable::GetEnumerator;
System.Collections.IEnumerator IEnumerable.GetEnumerator ();
Function GetEnumerator () As IEnumerator Implements IEnumerable.GetEnumerator

返回

一个可用于遍历 IEnumerator 对象的集合的 DataRowAn IEnumerator that can be used to traverse the collection of DataRow objects.

实现

注解

默认实现始终返回 nullThe default implementation always returns null.

适用于

另请参阅