共用方式為


DataRowEnumerator 類別

Supports iteration when the ADOEnumerationType is set to return EnumerateAllRows, and the variable contains a data set. This class cannot be inherited.

繼承階層

System.Object
  Microsoft.SqlServer.Dts.Runtime.Enumerators.ADO.DataRowEnumerator

命名空間:  Microsoft.SqlServer.Dts.Runtime.Enumerators.ADO
組件:  Microsoft.SqlServer.ForEachADOEnumerator (在 Microsoft.SqlServer.ForEachADOEnumerator.dll 中)

語法

'宣告
Public NotInheritable Class DataRowEnumerator _
    Implements IEnumerator
'用途
Dim instance As DataRowEnumerator
public sealed class DataRowEnumerator : IEnumerator
public ref class DataRowEnumerator sealed : IEnumerator
[<SealedAttribute>]
type DataRowEnumerator =  
    class 
        interface IEnumerator 
    end
public final class DataRowEnumerator implements IEnumerator

DataRowEnumerator 型別公開下列成員。

屬性

  名稱 說明
公用屬性 Current Gets the current element in the collection.

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
公用方法 MoveNext Advances the enumerator to the next element of the collection. 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.
公用方法 ToString (繼承自 Object。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Dts.Runtime.Enumerators.ADO 命名空間