Share via


EmptyEnumerator.MoveNext Method

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

Namespace:  Microsoft.SqlServer.Dts.Runtime.Enumerators.ADO
Assembly:  Microsoft.SqlServer.ForEachADOEnumerator (in Microsoft.SqlServer.ForEachADOEnumerator.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

Return Value

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

Implements

IEnumerator.MoveNext()

Remarks

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.

See Also

Reference

EmptyEnumerator Class

Microsoft.SqlServer.Dts.Runtime.Enumerators.ADO Namespace