Redigera

Dela via


KeyContainerPermissionAccessEntryEnumerator.Reset Method

Definition

Resets the enumerator to the beginning of the 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 to the beginning of the collection.

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

Applies to