共用方式為


MoveNext 方法

Advances the enumerator to the next element of the collection. The EmptyEnumerator returns false for this method, because there is no object to move to in the empty collection.

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

語法

'宣告
Public Function MoveNext As Boolean
'用途
Dim instance As EmptyEnumerator
Dim returnValue As Boolean

returnValue = instance.MoveNext()
public bool MoveNext()
public:
virtual bool MoveNext() sealed
abstract MoveNext : unit -> bool 
override MoveNext : unit -> bool 
public final function MoveNext() : boolean

傳回值

型別:System. . :: . .Boolean
A Boolean that indicates if moving to the next item in the collection was successful. This method will always return false because there is no item to move to.

實作

IEnumerator. . :: . .MoveNext() () () ()