Freigeben über


MoveNext-Methode

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

Namespace:  Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO
Assembly:  Microsoft.SqlServer.ForEachSMOEnumerator (in Microsoft.SqlServer.ForEachSMOEnumerator.dll)

Syntax

'Declaration
Public Function MoveNext As Boolean
'Usage
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

Rückgabewert

Typ: System. . :: . .Boolean
false , because there is no item to move to in the empty collection.

Implementiert

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

Hinweise

The EmptyEnumerator always returns false for this method.