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.