共用方式為


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 (在 Microsoft.SqlServer.Exec80PackageTask.dll 中)

語法

'宣告
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.