ApplicationTrustEnumerator.Reset 方法
定义
将枚举数重置到 ApplicationTrustCollection 集合的开头。Resets the enumerator to the beginning of the ApplicationTrustCollection collection.
public:
virtual void Reset();
public void Reset ();
abstract member Reset : unit -> unit
override this.Reset : unit -> unit
Public Sub Reset ()
实现
注解
枚举器按只进方向移动。An enumerator moves in a forward-only direction. 使用此方法将枚举数返回到对象集合的开头 ApplicationTrust 。Use this method to return the enumerator to the beginning of the collection of ApplicationTrust objects.
Reset方法将游标定位到集合中的第一个对象。The Reset method positions the cursor at the first object in the collection. 调用后 Reset ,无需调用 MoveNext 方法将游标向前移动到第一个对象。After calling Reset, you do not need to call the MoveNext method to move the cursor forward to the first object.