Compartilhar via


Método MoveNext

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 (em Microsoft.SqlServer.ForEachSMOEnumerator.dll)

Sintaxe

'Declaração
Public Function MoveNext As Boolean
'Uso
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

Valor de retorno

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

Implementa

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

Comentários

The EmptyEnumerator always returns false for this method.