Partager via


MoveNext méthode

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO
Assembly :  Microsoft.SqlServer.ForEachSMOEnumerator (dans Microsoft.SqlServer.ForEachSMOEnumerator.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 in the empty collection.

Implémente

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

Notes

The EmptyEnumerator always returns false for this method.