Partager via


MoveNext méthode

Advances the enumerator to the next element of the collection. The EmptyEnumerator always returns false for this method.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Enumerators.ADO
Assembly :  Microsoft.SqlServer.ForEachADOEnumerator (dans Microsoft.SqlServer.ForEachADOEnumerator.dll)

Syntaxe

'Déclaration
Public Function MoveNext As Boolean
'Utilisation
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

Valeur de retour

Type : System. . :: . .Boolean
false because there is no item to move to.

Implémente

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

Notes

The Boolean normally indicates if moving to the next item in the collection is successful. In the case of the empty enumerator, this method always returns false.