共用方式為


MoveNext 方法

Advances the enumerator to the next element of the collection. Returns false if there is no object to move to.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO
組件:  Microsoft.SqlServer.ForEachSMOEnumerator (在 Microsoft.SqlServer.ForEachSMOEnumerator.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
false , because there is no item to move to in the empty collection.

實作

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

備註

The EmptyEnumerator always returns false for this method.