ApplicationTrustEnumerator.Reset Method

Definition

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 ()

Implements

Remarks

An enumerator moves in a forward-only direction. Use this method to return the enumerator to the beginning of the collection of ApplicationTrust objects.

The Reset method positions the cursor at the first object in the collection. After calling Reset, you do not need to call the MoveNext method to move the cursor forward to the first object.

Applies to