Partager via


Méthode 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.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.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
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.

Implémente

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