다음을 통해 공유


Reset 메서드

Sets the enumerator to its initial position, which is before the first element in the collection.

네임스페이스:  Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
어셈블리:  Microsoft.SqlServer.Exec80PackageTask.dll의 Microsoft.SqlServer.Exec80PackageTask

구문

‘선언
Public Sub Reset
‘사용 방법
Dim instance As PkgVariableEnumerator

instance.Reset()
public void Reset()
public:
virtual void Reset() sealed
abstract Reset : unit -> unit 
override Reset : unit -> unit 
public final function Reset()

구현

IEnumerator. . :: . .Reset() () () ()

주의

Reset moves the enumerator to the beginning of the collection, before the first element. After Reset, MoveNext must be called to advance the enumerator to the first element of the collection before reading the value of Current.