다음을 통해 공유


MoveNext 메서드

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

네임스페이스:  Microsoft.SqlServer.Dts.Runtime.Enumerators.SMO
어셈블리:  Microsoft.SqlServer.ForEachSMOEnumerator(Microsoft.SqlServer.ForEachSMOEnumerator.dll)

구문

‘선언
Public Function MoveNext As Boolean
‘사용 방법
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

반환 값

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

구현

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

주의

The EmptyEnumerator always returns false for this method.