Share via


EmptyEnumerator.MoveNext Method

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 (in Microsoft.SqlServer.ForEachSMOEnumerator.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 in the empty collection.

Implements

IEnumerator.MoveNext()

Remarks

The EmptyEnumerator always returns false for this method.

See Also

Reference

EmptyEnumerator Class

Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO Namespace